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: Background propagation on <body> and <html> - Tiling and positioning</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/background/15.html" type="text/html">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background">
8 <meta name="flags" content="image">
9 <style type="text/css">
10 body { border: solid gray; background: red url(support/cat.png); color: black; }
11 html { border: solid thick blue; background: transparent; color: black; }
12 span { background: yellow; font-size: larger; }
13 * { margin: 1em; padding: 1em; }
14 em, span { margin: 0; padding: 0; }
15 </style>
16
17 </head>
18 <body>
19 <p><span>There should be lots of cats in the background, covering the
20 entire page, excluding the yellow background of this text, but
21 <em>including the area outside the blue box</em>.
22 One of the cats should start exactly inside the top left
23 corner of the blue box (the HTML box).</span></p>
24
25 </body>
26 </html>