![]() | |
#1
| |||
| |||
|
|
Jimbo wrote: ?xml version = "1.0"? I suggest you get rid of this <?xml version = "1.0"? for only 1 important and importantissimo reason: When MSIE 6 for windows parses an html file, if the very first instruction is a doctype in strict DTD, |
|
it will render the page in standards compliant rendering mode (where, for instance, the box model is compliant with W3C CSS1 TR). Otherwise, such in this case, it will render the page in backward compliant rendering mode, therefore using an invalid and incorrect CSS1 box model. |
#2
| |||
| |||
|
|
DU <drunclear (AT) hot-R-E-M-O-V-E-mail (DOT) com> writes: Jimbo wrote: ?xml version = "1.0"? I suggest you get rid of this <?xml version = "1.0"? for only 1 important and importantissimo reason: When MSIE 6 for windows parses an html file, if the very first instruction is a doctype in strict DTD, A what? |
|
it will render the page in standards compliant rendering mode (where, for instance, the box model is compliant with W3C CSS1 TR). Otherwise, such in this case, it will render the page in backward compliant rendering mode, therefore using an invalid and incorrect CSS1 box model. Which spares you the trouble to compare the results with versions prior to 6, spares you the trouble to solve a couple of bugs IE6 only sports in so-called 'standards compliant' mode and spares you the trouble of double-checking what IE6 does when 3rd party software like ad-blocking proxies insert anything before the docHype declaration. Of course, since MicrosoftIE cannot handle XHTML in the first place, we're talking about serving XHTML syntax as text/html. The newsgroup discussing voodoo is all the way down the corridor, 2nd door to the left. |
![]() |
| Thread Tools | |
| Display Modes | |
| |