Aargh

Happiness is NOT the following:

Spending all day trying to track down a CSS error, only to realize your page isn’t rendering correctly in NS6 because of the following character: _

Isn’t this always the way, my internet coding brothers and sisters? Can I get an amen? How come out of all the pages and pages and pages of CSS Web sites that I visited today didn’t one person decide to put at the top of the page (in an H1 tag of course): Hey, idiots! Only use alphanumeric characters in your .css files!

I want my day back.

Know it, love it:

In CSS2, identifiers (including element names, classes, and IDs in selectors) can contain only the characters [A-Za-z0-9] and ISO 10646 characters 161 and higher, plus the hyphen (-); they cannot start with a hyphen or a digit.

4 thoughts on “Aargh”

Leave a Reply

Your email address will not be published. Required fields are marked *