Hey Guys,
So, I usually use the DD_belatedpng.js fix on my websites to make sure that PNG transparency works with IE6. It is a great fix and works well, except for with one thing I'm trying to do.
Usually when I make a CSS nav, I just make an a:hover state for the navigation links, with a different background. The problem is, I can't seem to get the PNG fix to work on a a:hover background.
I think the simplest way to explain this is to show a website where it is happening:
http://groundscapesofwi.com/
In IE6, when you roll over the nav buttons, you will see the problem (it should be pretty obvious).
Does anyone know what to do here? This is the "if IE" code I'm currently using:
The only thing I could think to do was to add a:hover to the list like this:Code:<!--[if IE 6]> <script src="DD_belatedPNG.js"></script> <script> DD_belatedPNG.fix('img, div, a, span'); </script> <![endif]-->
But that doesn't work.Code:<!--[if IE 6]> <script src="DD_belatedPNG.js"></script> <script> DD_belatedPNG.fix('img, div, a, span, a:hover'); </script> <![endif]-->
Any ideas? Thanks in advance!



Reply With Quote


Bookmarks