I found this on
while looking for tips on getting my CSS right.
can anyone tell me how dynamically generated pages are affected by this, i.e., if I am using PHP and I put a big block of PHP code above the <html> tag, will this cause IE to revert to quirks mode?
And what about Includes, will they also affect it?
Thanks
----------------------------------------
Sometimes, when my code just won't behave, I take it outside and make it listen to britney spears music, and when it comes back it's really well behaved. I wonder if it's suffering from post tramatic stress syndrome now..
while looking for tips on getting my CSS right.
IE5, IE5.5 and IE6 in quirks mode use what is commonly known as the broken box model. All other modern browsers use the correct box model. The box model is how an elements dimensions are defined. (Note quirks mode in IE is triggered by not having a doctype or using a partial html doctype without uri. It is also triggered accidentally in xhtml by using the xml prologue or in fact [red]by having any content above the doctype.)[/red]
can anyone tell me how dynamically generated pages are affected by this, i.e., if I am using PHP and I put a big block of PHP code above the <html> tag, will this cause IE to revert to quirks mode?
And what about Includes, will they also affect it?
Thanks
----------------------------------------
Sometimes, when my code just won't behave, I take it outside and make it listen to britney spears music, and when it comes back it's really well behaved. I wonder if it's suffering from post tramatic stress syndrome now..