- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Website: http://www.stuckpixelstudio.com/version2
So I have a few problems with my website, and they are all in IE6.
1) Yes…. the painful transparent PNG issue. I can usually get it to work by putting in a special iepngfix.htc file in my directory and reference it using a behavior thing in my CSS. However, using that behavior in my CSS keeps it from validating, and I’d really like to have valid CSS.
The other option that I’ve seen is using a special javascript that supposedly lets you use transparent PNG’s. It’s the ie7-js script: http://code.google.com/p/ie7-js/
I’ve changed my transparent png files to end with -trans.png, but the pictures are never fixed. Also, this script is limited because I can’t use it on positioned backgrounds, which is how my transparent png’s are positioned.
Lastly, I’ve tried the Unit PNG fix. When I apply it, my images are transparent, however it screws up my positioning.
Is there another option that will allow me to have valid css and use positioned background images using transparent png’s?
2) I have a strange error being reported in IE. It says
"Line: 20
Char: 3
Error: ‘0.offsetWidth’ is null or not an object
Code: 0 URL: http://www.stuckpixelstudio.com/version2/"
I looked at where it referenced but it was just part of my navigation and it doesn’t seem anything is wrong.
Thanks.
you have to put it in a conditional stylesheet for ie for it to validate
i checked, it validates strict on my side.
Greets Peeps,
Can you please say what the "conditional stylesheet" used?
Thanks