When considering the ‘zoom:1’ idea for clearfix’s, I’ve been conditionally been including a tiny CSS file for browsers < IE9.
If left in the main css file, it works without issue, but does not validate.
Other than being anal, how does validation effect css and the performance of a website?
(excuse me if this is uber-newb!)
This reply has been reported for inappropriate content.
You don’t really need to worry about it. See validation as a way of spotting errors rather than getting a “perfect score”. Properties, etc everyone uses, such as vendor prefixed properties, cause the validator to return errors. So as long as your invalid properties are justifiably invalid and not made up properties/errors/etc, you’ll be ok.
It’s good to be finicky about these sort of things, but don’t worry too much about CSS validation.
Validation is a very important tool when trying to debug. (For every time I validate my css I probably validate my html 25 times).