The following will just pile up the text, and ignore any positioning.
Expand|Select|Wrap|Line Numbers
- <!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" lang="en_EN" xml:lang="en_EN">
- <head>
- <title>UMDB:Unknown?</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta name="generator" content="pdftohtml 0.40" />
- <meta name="author" content="Andreas Blom" />
- <meta name="date" content="2007-11-13T06:12:48+00:00" />
- <style type="text/css">
- <!--
- .ft0{vertical-align:top;font-size:13px;font-family:Times;color:#000000;letter-spacing:0.00000px;}
- .ft1{vertical-align:top;font-size:16px;font-family:Times;color:#000000;letter-spacing:0.00000px;}
- -->
- </style>
- </head>
- <body>
- <div style="position:relative;width:892;height:1263;">
- <div style="position:absolute;top:58;left:779"><span class="ft0">1</span></div>
- <div style="position:absolute;top:111;left:389"><span class="ft1">2007-10-12</span></div>
- </div>
- </body>
- </html>
Expand|Select|Wrap|Line Numbers
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <HTML>
- <HEAD>
- <title>UMDB:unknown?</title>
- <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <style type="text/css">
- <!--
- .ft0{vertical-align:top;font-size:13px;font-family:Times;color:#000000;letter-spacing:0.00000px;}
- .ft1{vertical-align:top;font-size:16px;font-family:Times;color:#000000;letter-spacing:0.00000px;}
- -->
- </style>
- </head>
- <body>
- <div style="position:relative;width:892;height:1263;">
- <div style="position:absolute;top:58;left:779"><span class="ft0">1</span></div>
- <div style="position:absolute;top:111;left:389"><span class="ft1">2007-10-12</span></div>
- </div>
- </body>
- </html>
BOTH are correct according to http://validator.w3.org but only html4-version works. according to xhtml1 definitions nothing in the code above is wrong. why why why won't it work ?