| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Aug 2004
Posts: 96
|
XML header is killing my DTD
I have the following code at the top of the page: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns:fo="http://www.w3.org/1999/XSL/Format" lang="en" xml:lang="en"> It has to be done like this becuase of the way the developers have coded it. Does this cause IE6 to operate in Quirks mode - i.e. the same way IE5/5.5 would render the page? Thanks |
|
|
|
|
|
#13 (permalink) |
|
I Ain't Losing Any Sleep™
Join Date: Apr 2003
Posts: 5,206
|
quick answer, no. longer answer would go into the fact that different browsers have different modes and different "sniffers" for entering those modes. http://developer.mozilla.org/en/docs...7s_Quirks_Mode http://msdn.microsoft.com/workshop/a...compatmode.asp http://www.opera.com/docs/specs/doctype/ You'll only ever really deal with IE's. |
|
![]() |