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: Inline box model: space taken by images in cells</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/inline/015.html" type="text/html">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-boxes">
8 <meta name="flags" content="image">
9 <style type="text/css">
10 div { background: red; height: 64px; width: 128px; }
11 table { background: green; width: 100%; padding: 0; border: 0; border-spacing: 0; margin: 0; }
12 td { padding: 0; border: 0; font-size: 64px; }
13 </style>
14 </head>
15 <body>
16 <p>There should be no red below.</p>
17 <div>
18 <table>
19 <tr> <!-- same as 014 but without spaces around the image -->
20 <td><img src="support/1x1-white.png" alt="(image test failed)"></td>
21 </tr>
22 </table>
23 </div>
24 </body>
25 </html>