Previous Message
Next Message

Doctype, xml and IE

Sent by Andrew Stevens on 13 September 2003 00:12


Hi Eugenia,





SE> I know that having an xml line in with the dtd throws IE 6 into quirks mode.
SE> What about the following lines? Does anyone see any issues with this? Will
SE> it keep IE in standards mode?

Just to clarify IE will go into quirks mode if your XHTML file has an
XML declaration (eg. <?xml version="1.0" encoding="UTF-8"?>).
Doctypes with DTD URLs (e.g.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">) typically 
put browsers into standards mode.

Don't mean to be overly pedantic here, but thought that I'd clarify
this for anyone out there wondering.



-- 
 Andrew
 http://www.4serendipity.com

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: