
Originally Posted by
benbob
The privilege of using IE.

Is there any way that I can use xhtml1 and can be assured that IE8 or older will display my page properly, regardless of what the settings are on the user's computer?
Not much point in using hacks to get MY computer to do it right in XP versions of IE, if that doesn't do the same for random visititors that still have an old XP version of IE.
Hi,
I think you are a little confused and IE has no problem with xhtml1.0 served as text/html back to ie6.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
</body>
</html>
All versions of IE6+ will render the page in standards mode with that strict doctype. They will still render in standards mode even with a transitional doctype. The only time they will render in quirks mode is when you don't have a doctype or use one of the very old doctypes without uri.
That's not to say that older IE versions don't have bugs but they are all well known and easily catered for these days.
If you want further help to debug then you will need to provide the code you are using so we can see what's going on.
Bookmarks