background-root-007.xht (1106B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: Image backgrounds on <body> and <html> - 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 <link rel="match" href="background-root-007-ref.xht" /> 9 10 <meta name="flags" content="image"/> 11 12 <style type="text/css"><![CDATA[ 13 body { background: red url(support/square-white.png); color: green; } 14 p { font: 900 1.75em Verdana, sans-serif; } 15 html { border: solid blue; background: transparent; color: yellow; } 16 :link, :visited { color: inherit; background: transparent; } 17 * { margin: 1em; padding: 1em; } 18 ]]></style> 19 20 </head> 21 <body> 22 <p>The entire page should be covered in a white tiled background 23 uninterrupted by the blue rectangle painted over it.</p> 24 25 26 </body> 27 </html>