Skip to: Navigation | Content | Sidebar | Footer

Weblog Entry

CSS Validator Bug

October 25, 2005

If, like me, you tend to drop units when using the CSS line-height property, like so:

h2 {
   line-height: 2;

Then you may have noticed all of a sudden that the validator is reporting this as an error. The validator is, in fact, wrong. It has been reported. There’s a workaround. It’ll be fixed soon. Don’t bother working around. That’s all.