background-root-006.xht (1182B)
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. color</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/03.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-006-ref.xht" /> 9 10 <meta name="flags" content="image"/> 11 12 <style type="text/css"><![CDATA[ 13 body { border: solid lime; background: red url(support/square-white.png); color: green; } 14 p { font: 900 1.75em Verdana, sans-serif; } 15 html { border: solid blue; background: navy; color: yellow; } 16 :link, :visited { color: inherit; background: transparent; } 17 * { margin: 1em; padding: 1em; } 18 ]]></style> 19 20 </head> 21 <body> 22 <p>This box, which should have a bright green border, should have a 23 white tile background. The box surrounding it should have a navy 24 background. The rest of the page should also be navy.</p> 25 26 27 </body> 28 </html>