Christopher M Kelly wrote:

Hello!  I was just beginning to read through the W3C's docs on XHTML 1.1 and
noticed the following example they provide of an XHTML 1.1 strict document:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" >
  <head>
    <title>Virtual Library</title>
  </head>
  <body>
    <p>Moved to <a href="http://vlib.org/";>vlib.org</a>.</p>
  </body>
</html>

While they do state the XML declaration is not required, they urge its use.

My questions is: doesn't the XML declaration send IE6 (Windows) into "quirks
mode" if it's present?  It seems like I read that recently.  Can anyone
verify?

Yes it does, create a testcase to see it yourself.


Example:

#testdiv {
  width: 100px;
  padding: 10px;
  background-color: green;
}

The green rectangle should be 120px in standards mode.

Tonico


-- Tonico Strasser ?:-) http://Tonico.FreeZope.org

Contact_Tonico at Yahoo dot de
Check out http://www.WebProducer.at
*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************




Reply via email to