Comma’s Are Evil

13 March 2007 15:02

Aside from the fact that CSS cross browser is often quite a fun exercise and we all know how lovely MSIE can be in it’s quirks as indeed can Firefox, but, today I’ve leart that the comma is indeed evil.

The CSS file in question is quite large, a couple of hundred lines or so, in amungst it was a simple class:

#text p, { padding: 0; margin: 0; color: #ffffff; }

The issue was that the first paragraph tag in the text div had extra padding on the top whereas in IE it wasn’t there. The comma should be an obvious spot but within the larger file I’d overlooked it. Ah well… back to the CSS grindstone!

Filed: Technology // Tagged:

You can follow any responses to this entry through the RSS 2.0 feed.

You can leave a comment or leave a trackback from your own site.

Leave a Reply

 
What's ianteresting?   •   Twitter   •   About   •   Contact
©2010 Ian Winter. All Rights Reserved.   •   Powered by WordPress   •   Hosted at Memset