Rumor has it that by using the proper doctype it is possible to force
IE to operate in a standards compliant mode -- and thus avoid (in that
one situation at least) the quirks that one might otherwise confront.

I have two standard-ish header templates I'm working with. (i.e.
flailing in the dark).
4.01 strict and XHTML 1.0 Strict.

It annoys me that apparently I need to leave off the "<?xml
version="1.0"..." thingy in order to prevent IE from going into quirks
mode. This means the page will not validate as xhtml. And I've heard
some folks suggest that delivering xml as text content is not a good
idea (sounds like a fight above my pay grade).

So because of this I am using the 4.01 strict. But I don't know if I'm
making a mistake or not.

In any case, the real question is: "Is there a validator type page
that will tell me whether or not a particular url is definitely being
rendered in standards - mode or if it is in quirks mode." Basically
I'm looking for a quirks detector.

Does such a thing as a quirks detector exist?

Regards,
Claude

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
 "http://www.w3.org/TR/html4/strict.dtd";>
<html>
<head>
<title></title>
<link rel="shortcut icon" href="">
<meta name="DESCRIPTION" http-equiv="DESCRIPTION" content="">
<meta name="KEYWORDS" http-equiv="KEYWORDS" content="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
<link type="text/css" href="main.css" rel="stylesheet">
</head>


<!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>
<title></title>
<link rel="shortcut icon" href="" />
<meta name="DESCRIPTION" http-equiv="DESCRIPTION" content="" />
<meta name="KEYWORDS" http-equiv="KEYWORDS" content="" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" href="main.css" rel="stylesheet" />
</head>
<?xml version="1.0" encoding="UTF-8" ?> removed from its proper
position at top of file because of rumors that it will put some
version of IE into quirks mode.
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to