Forum Moderators: open

Message Too Old, No Replies

Trigger quirks mode in IE5 mac?

         

matthewwithanm

4:47 pm on Feb 3, 2006 (gmt 0)

10+ Year Member



Is there a way to trigger quirks mode in IE5/Mac but have other browsers render it as XHTML strict? I know that the XML prolog does it for IE/Win but it doesn't seem to do the same for 5.23 mac.

Thanks.

encyclo

5:27 pm on Feb 3, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The only way I know is to to use HTML 4.01 Strict with the following doctype which incorrectly triggers quirks in IE/Mac but standards in everything else:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">

Having said that, a better solution would be to find a way of addressing the problem which leads to IE/Mac requiring quirks mode. IE/Mac should handle the box model correctly in standards mode, so why do you need to trigger quirks?

matthewwithanm

6:12 pm on Feb 3, 2006 (gmt 0)

10+ Year Member



You're right. The problem is that if the height of html and body are set to 100%, it's taller than the window.

matthewwithanm

6:43 pm on Feb 3, 2006 (gmt 0)

10+ Year Member



Interesting- I think the body height is actually being calculated as a percentage of html's width.