wierd IE6 doctype problem

admin

Administrator
Staff member
Hello everyone,

I stumpled upon a wierd IE bug when developing. Right now I use the strict XHTML doctype for my webpages, I was using tranisitional but I stepped it up. Anyways I originally commented out the tranisitional doctype and added the strict doctype below it. Why didnt I just delete the code? I am not sure.

My pages validated and everything was great. But then when I finally deleted the tranisitional code, IE messed up the layout of my site. Basically added white space to my wrapper tag. When I put the commented tranisitional code back in, everything look good again. Firefox and Opera were unaffected by the changes.

Has anyone experienced this before? Seems odd.

<!-- w --><a class="postlink" href="http://www.mididelight.comAnything">www.mididelight.comAnything</a><!-- w --> - including your commented out DTD - before the DTD will throw IE into quirks mode.odd that quirks mode makes the site look better...odd that quirks mode makes the site look better...Only because you were likely using the quirks mode rendering as a reference when building your page.
 
Back
Top