Ar 21/06/10 22:13, ysgrifennodd Duane Nelson :
> I'm using the following to fix a PNG display bug in<ie6:
>
> /* PGN Fix for<IE6 */
> img, div {
> behavior: url(../scripts/htc/iepngfix.htc)
> }
>
> But it causes the css to ot validate. Is there a way I can do this to get my
> CSS to validate?
>
> Thanks,
>
> Duane Nelson
> Loss2gaiN Designs
> http://myL2G.com
>
On the one occasion I needed it, I used this:
<!--[if lt IE 7]>
<style type="text/css">
#banner img { behavior: url(styles/iepngfix.htc) }
</style>
<![endif]-->
Obviously you'll want to substitute your own selector.
HTH
Peter
--
http://www.peredur.net
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/