[nycphp-talk] And the HTML guru is....
Kenneth Downs
ken at secdat.com
Thu Jan 4 10:27:10 EST 2007
Googling "quirks mode ie doctype" brought this up as first link:
http://hsivonen.iki.fi/doctype/
LK wrote:
> In this snippet I don't see where the document type is declared as
> "quirks" mode. What am I missing?
>
> ----- Original Message ----
> From: Kenneth Downs <ken at secdat.com>
> To: NYPHP Talk <talk at lists.nyphp.org>
> Sent: Thursday, January 4, 2007 9:12:42 AM
> Subject: [nycphp-talk] And the HTML guru is....
>
> Hi folks,
>
> A helpful HTML guru has given me the solution to my height-dont-work
> problem in IE 6.
>
> The guru is.... (drumroll) Tom Melendez of LIPHP fame. He pointed out
> that changing the document type declaration to "quirks" mode makes IE
> work, instantly fixing the problem.
>
> For completeness, here is a simplified snipeet that illustrates the
> fixed situation:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <style>
> html, body {
> height: 100%;
> width: 100%;
> margin: 0px;
> }
> </style>
> </head>
> <body>
> <center>
> <table cellspacing=0
> style="width: 500px; height: 100%;">
> <tr><td style="height: 100px" bgcolor=red>a </td></tr>
> <tr><td>hello </td></tr>
> <tr><td style="height: 100px" bgcolor=blue>b </td></tr>
> </table>
> </center>
> </body>
> begin:vcard
> fn:Kenneth Downs
> n:Downs;Kenneth
> adr;dom:;;347 Main Street;East Setauket;NY;11733
> email;internet:ken at secdat.com
> tel;work:631-689-7200
> tel;fax:631-689-0527
> tel;cell:631-379-0010
> x-mozilla-html:FALSE
> url:http://www.secdat.com <http://www.secdat.com/>
> version:2.1
> end:vcard
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com <http://www.nyphpcon.com/>
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> ------------------------------------------------------------------------
>
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070104/812a7cd1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ken.vcf
Type: text/x-vcard
Size: 261 bytes
Desc: not available
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070104/812a7cd1/attachment.vcf>
More information about the talk
mailing list