tables-002

CSS Tables: Empty Tables

WeasyPrint

This browser

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3  <head>
 4   <title>CSS Test: CSS Tables: Empty Tables</title>
 5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 6   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/table/010.xml" type="application/xhtml+xml">
 7   <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes">
 8   <style type="text/css">
 9     .table { display: table; height: 5em; width: 5em; background: green; }
10   </style>
11  </head>
12  <body>
13   <p>There should be a green block under this paragraph.</p>
14   <span class="table"></span>
15  </body>
16 </html>