PDA

View Full Version : Why slavishly following standards is wrong


David
21st Oct 2007, 07:20 pm
Firefox is good and its aim in life is to render web pages in accordance with the W3C standards. But what happens when those standards are just wrong? The Firefox developers have taken the decision to follow them anyway, forcing designers to work around the problem.

I came across it recently while tweaking the Course Stuff website. It's to do with table captions and how they are rendered when a background colour or image is used. Take a look at this very good explanation (http://www.aurora-il.org/table_test.htm). As you'll see, the workaround is to use a negative left margin. Unfortunately, that didn't solve my problem because I wanted centred tables. Looks like I'm going to have to make do with left-justified tables after all - thanks Firefox :angry:.

Incidentally, IE renders the caption as one would expect (logically) but in so doing, falls foul of standards compliance.