IE PNG fix+css
7 posts
• Page 1 of 1
IE PNG fix+css
I've been trying to find a PNG fix for IE 6.
I've tried the iepngfix.htc--this works through css, but the css isn't valid.
I've tried the javascript, but this won't fix transparent png backgrounds in css...
Is there an alternate png fix that corrects background css images?
- ChevinBrown
- Posts: 410
- Joined: Wed Aug 18, 2004 2:10 pm
IE 6 or earlier versions does not support 24-bit transparency on png images.
One approach Is to use 8-bit PNG or you can also use a gif with a stroke the same color as the background.
There also some hacks and methods that you can find.
Please check here,here and here
Finally If the way you tested was working smoothly for you,there is way to bypass the W3C validation problem.
You can target IE with IE conditional comments.
- Code: Select all
<if>
<link>
<endif>
This will feed an IE-only style sheet to IE. :-)
EdiTed: Sorry It's not allowed to post code in this Board
I just need a fix that is WC3 valid. I like the css one best, but I always get an error when validating.
- ChevinBrown
- Posts: 410
- Joined: Wed Aug 18, 2004 2:10 pm
Consider this: http://dean.edwards.name/IE7/
It will make transparent pngs work correctly and apply many css fixes. It all runs through a simple javascript file. It's amazing.
It will make transparent pngs work correctly and apply many css fixes. It all runs through a simple javascript file. It's amazing.
"Pencil and paper /n./: an archaic information storage and transmission device that works by depositing smears of graphite on bleached wood pulp. More recent developments in paper-based technology include improved `write-once' update devices which use tiny rolling heads similar to mouse balls to deposit colored pigment. All these devices require an operator skilled at so-called 'handwriting' technique."
- OrphicFireball
- Posts: 612
- Joined: Sat Aug 14, 2004 7:43 am
- Location: USA
7 posts
• Page 1 of 1
Return to HTML, CSS, and Scripts
Who is online
Users browsing this forum: No registered users and 5 guests