png fix in IE6

Png fix in IE6, a forum discussion on Jojo CMS. Join us for more discussions on Png fix in IE6 on our General Discussion forum.

Back to Forum Index : Back to General Discussion   RSS
Jaijaz Jaijaz

5 Jun 2009
Posts: 215

I remember once upon a time ago there was a built in png fix for ie6. I can't seem to find it any more. Is there something meant to be turned on? I vaguely remember it being a template option of something.

Thanks,
Jai
If you not living on the edge you taking up too much space.
tom

Developer

tom

5 Jun 2009
Posts: 379

There was a standard kind of fix we used in global.php, but we haven't used it for a while - our tendancy is to link the google fix code and/or include ie_style.css in customhead with filters.

One thing to beware of is that the filter fix converts background pngs into spans, which can affect tag specific styling.

More recently, Mike built an IE6 plugin which tells users to grow up and get a real browser! ;)

Jaijaz Jaijaz

5 Jun 2009
Posts: 215

cool. will go the google code.

Thanks.
If you not living on the edge you taking up too much space.
tom

Developer

tom

5 Jun 2009
Posts: 379

in customhead:
<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="css/ie_style.css" />
<![endif]-->

and in ie_style:

#something with a transparent png for a background {
background-image: none;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/transparent.png');
}
tom

Developer

tom

5 Jun 2009
Posts: 379

the google code relies on you having named all your transparent pngs as filename-trans.png

and it does some unexpected things with transparent backgrounds underneath links, which can be painful, but are usually solved by making the links div position: relative;
Jaijaz Jaijaz

6 Jun 2009
Posts: 215

Thanks Tom. That was really helpful.

Now to go fix all my png sites ;)

Jai
If you not living on the edge you taking up too much space.
Back to Forum Index : Back to General Discussion   RSS
You must be logged in to post a reply



You need to Register or Log In before posting on these forums.