Website gurus (Long, with code, beware!)
#15
Quote:Granted, it's not very pretty as you can see here, but generally using a full doctype switches all browsers into the same mode, or at least very similar ones.

'Generally', and 'very similiar' modes, yes. But if you really rely on it, you have to look up the behaviour of the broswer you want to put in a certain mode, because there *are* exceptions, and quite a few of them.

Quote:This is a known bug in MSIE - it is caused by having any form of content before the DTD, such as a comment or an XML prolog. Removing it will also trigger Standards mode in MSIE6.

Unless you send the document as XML in stead of text/html with an XML declaration, in which case the behaviour is *again* different.
Reply


Messages In This Thread
Website gurus (Long, with code, beware!) - by Tal - 11-02-2004, 01:43 PM
Website gurus (Long, with code, beware!) - by Guest - 11-14-2004, 05:59 PM
Website gurus (Long, with code, beware!) - by Moldran - 11-19-2004, 11:51 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)