background-root-007

Image backgrounds on and - image vs. transparent

WeasyPrint

This browser

Flags
image

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: Image backgrounds on &lt;body&gt; and &lt;html&gt; - image vs. transparent</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/04.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 { background: red url(support/square-white.png); color: green; }
11    p { font: 900 1.75em Verdana, sans-serif; }
12    html { border: solid blue; background: transparent; color: yellow; }
13    :link, :visited { color: inherit; background: transparent; }
14    * { margin: 1em; padding: 1em; }
15 </style>
16 
17 </head>
18 <body>
19 <p>The entire page should be covered in a white tiled background
20 uninterrupted by the blue rectangle painted over it.</p>
21 
22 
23 </body>
24 </html>