CSS Validator: Questions About Results

liunx

Guest
I'm using the W3.org CSS Validator on my site, and the only error that I'm receiving is this:

URI : <!-- m --><a class="postlink" href="http://www.douglas-county.com/scriptlibrary/stylesheet_nav.css">http://www.douglas-county.com/scriptlib ... et_nav.css</a><!-- m -->
Line: 0 Context : #nav1 li
Property behavior doesn't exist : url('/scriptlibrary/IEFixes.htc')

But I've looked up the "property behavior", and found this site (<!-- m --><a class="postlink" href="http://www.blooberry.com/indexdot/css/properties/dynamic/behavior.htm">http://www.blooberry.com/indexdot/css/p ... havior.htm</a><!-- m -->) that describes how it's used. So my questions are:
1) Why does the validator show that the "property behavior" doesn't exist when/if it does?
2) How can I fix this error?

Any & all help is appreciated.The behavior property is not a World Web Web Consortium standard CSS attribute. It's Internet Explorer-only code.

Before the standards gurus jump all over you for catering to the dumbest browser on the market, the behavior property won't "hurt" anything. Browsers are written to skip CSS properties they do not understand. So your page will render the same, minus what ever effect was added by that behavior.

Proprietary code becomes a problem ONLY when the readability and usability of a page is reduced or eliminated (my God, I may get lynched for writing this :p ).Well, I'm not a guru really, but I do nitpick, and I still think the behavior property is fine to use, mainly when covering IE's flaws. If your styles works in all modern CSS-capable browsers, then you're fine.Ok, thanks Ben R. and toicontien. I understand what you're both saying, and feel much more confident it my stylesheet. TGIF.No problem. ;)
Originally posted by kwilliams
TGIF. Ditto. :D
 
Back
Top