<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Googling "quirks mode ie doctype" brought this up as first link:<br>
<br>
<a class="moz-txt-link-freetext" href="http://hsivonen.iki.fi/doctype/">http://hsivonen.iki.fi/doctype/</a><br>
<br>
<br>
LK wrote:
<blockquote cite="mid20070104151634.56984.qmail@web53303.mail.yahoo.com"
 type="cite">
  <style type="text/css"><!-- DIV {margin:0px;} --></style>
  <div
 style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
  <div
 style="font-size: 12pt; font-family: times new roman,new york,times,serif;">In
this snippet I don't see where the document type is declared as
"quirks" mode. What am I missing?<br>
  <br>
  <div
 style="font-size: 12pt; font-family: times new roman,new york,times,serif;">-----
Original Message ----<br>
From: Kenneth Downs <a class="moz-txt-link-rfc2396E" href="mailto:ken@secdat.com">&lt;ken@secdat.com&gt;</a><br>
To: NYPHP Talk <a class="moz-txt-link-rfc2396E" href="mailto:talk@lists.nyphp.org">&lt;talk@lists.nyphp.org&gt;</a><br>
Sent: Thursday, January 4, 2007 9:12:42 AM<br>
Subject: [nycphp-talk] And the HTML guru is....<br>
  <br>
  <div>Hi folks,<br>
  <br>
A helpful HTML guru has given me the solution to my height-dont-work <br>
problem in IE 6.<br>
  <br>
The guru is.... (drumroll)&nbsp;&nbsp;Tom Melendez of LIPHP fame.&nbsp;&nbsp;He pointed out
  <br>
that changing the document type declaration to "quirks" mode makes IE <br>
work, instantly fixing the problem.<br>
  <br>
For completeness, here is a simplified snipeet that illustrates the <br>
fixed situation:<br>
  <br>
&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
&lt;html&gt;<br>
&lt;head&gt;<br>
&nbsp;&nbsp; &lt;style&gt;<br>
&nbsp;&nbsp; html, body {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;height: 100%;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width: 100%;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;margin: 0px;<br>
&nbsp;&nbsp; }<br>
&nbsp;&nbsp; &lt;/style&gt;<br>
&lt;/head&gt;<br>
&lt;body&gt;<br>
&lt;center&gt;<br>
&nbsp;&nbsp; &lt;table cellspacing=0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;style="width: 500px; height: 100%;"&gt;<br>
&nbsp;&nbsp; &lt;tr&gt;&lt;td style="height: 100px" bgcolor=red&gt;a
&lt;/td&gt;&lt;/tr&gt;<br>
&nbsp;&nbsp; &lt;tr&gt;&lt;td&gt;hello &lt;/td&gt;&lt;/tr&gt;<br>
&nbsp;&nbsp; &lt;tr&gt;&lt;td style="height: 100px" bgcolor=blue&gt;b
&lt;/td&gt;&lt;/tr&gt;<br>
&nbsp;&nbsp; &lt;/table&gt;<br>
&lt;/center&gt;<br>
&lt;/body&gt;</div>
  <div>begin:vcard<br>
fn:Kenneth&nbsp;&nbsp;Downs<br>
n:Downs;Kenneth <br>
adr;dom:;;347 Main Street;East Setauket;NY;11733<br>
<a class="moz-txt-link-abbreviated" href="mailto:email;internet:ken@secdat.com">email;internet:ken@secdat.com</a><br>
tel;work:631-689-7200<br>
tel;fax:631-689-0527<br>
tel;cell:631-379-0010<br>
x-mozilla-html:FALSE<br>
url:<a href="http://www.secdat.com/" target="_blank">http://www.secdat.com</a><br>
version:2.1<br>
end:vcard</div>
  <div>_______________________________________________<br>
New York PHP Community Talk Mailing List<br>
  <a href="http://lists.nyphp.org/mailman/listinfo/talk" target="_blank">http://lists.nyphp.org/mailman/listinfo/talk</a><br>
  <br>
NYPHPCon 2006 Presentations Online<br>
  <a href="http://www.nyphpcon.com/" target="_blank">http://www.nyphpcon.com</a><br>
  <br>
Show Your Participation in New York PHP<br>
  <a href="http://www.nyphp.org/show_participation.php" target="_blank">http://www.nyphp.org/show_participation.php</a></div>
  </div>
  <br>
  </div>
  </div>
  <br>
__________________________________________________<br>
Do You Yahoo!?<br>
Tired of spam? Yahoo! Mail has the best spam protection around <br>
<a class="moz-txt-link-freetext" href="http://mail.yahoo.com">http://mail.yahoo.com</a>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
New York PHP Community Talk Mailing List
<a class="moz-txt-link-freetext" href="http://lists.nyphp.org/mailman/listinfo/talk">http://lists.nyphp.org/mailman/listinfo/talk</a>

NYPHPCon 2006 Presentations Online
<a class="moz-txt-link-freetext" href="http://www.nyphpcon.com">http://www.nyphpcon.com</a>

Show Your Participation in New York PHP
<a class="moz-txt-link-freetext" href="http://www.nyphp.org/show_participation.php">http://www.nyphp.org/show_participation.php</a></pre>
</blockquote>
<br>
</body>
</html>