- From: Erik Forsberg <forsberg@lysator.liu.se>
- Date: Sat, 27 Jul 2002 05:36:42 -0400 (EDT)
- To: www-validator@w3.org
- Cc: astrand@lysator.liu.se
Hi! This HTML code: --snip-- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head> <title>Test of the validator</title></head> <body> <table border="0" cellpadding="0" cellspacing="0" width="100%>" <tr> <td>TD0</td><td>TD1</td> </tr> </table> </body> </html> --snap-- ..validates with "No errors found" at validator.w3.org (except for the warning about character encoding). Notice the table-tag and the fact that the second '"' is outside the tag. Is that really correct HTML? I noticed the problem because Mozilla and Opera differs in how they parse the width-attribute. Mozilla seems to think it should render it as 100% of the page-width, Opera squeezes everything into the left corner. I was surprised when a friend of mine pointed out the error, because I validated the page without errors. Btw, thanks for a really useful service - I use it all the time when I create webpages! Regards, \EF -- Erik Forsberg http://www.lysator.liu.se/~forsberg/ GPG/PGP Key: 1024D/0BAC89D9 <forsberg@lysator.liu.se> Key Fingerprint: B308 87FC 566E 825A 5ABC 247C AC9B AB14 0BAC 89D9
Received on Saturday, 27 July 2002 10:40:50 UTC