Internal Server Error

what the voices in my head tell me to write

Wednesday, December 13, 2006

how strict is strict XHTML 

If your using IE7 its very strict indeed!

I was writing something the other day using IE "conditional comments" e.g.

When I accidentally put a slash in the "closing" tag e.g.

The site I was working was declared as XHTML1.0 Strict and in IE7 it displayed a blank screen. It was fine in all other versions of IE and any other decent browser TM. It took a bit of poking around to find the erroneous slash but just like anything else it was obvious once you saw it. The main problem was that it was in a conditional comment block for IE5 so I didn't check it straight away.

It just struck me that IE7 is so strict it refuses to render "bad" xhtml when its not even part of the xhtml standard!

Permanent link and Comments posted by Rob Cornelius @ Wednesday, December 13, 2006

Comments: Post a Comment

Links to this post:

Create a Link

links to this post
    follow me on Twitter

    My recent photos


    Creative Commons License
    This work is licensed under a Creative Commons License.

    RSS feeds and things

    Feed Button Help

    This page is powered by Blogger. Isn't yours?

    contact the author

    rob cornelius can be contacted by email use his name with an dot and googles web based email domain