background-root-013b.xht (1113B)
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: Background propagation on <body> and <html> - non-propagated position</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/10.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-013b-ref.xht" /> 9 <meta name="flags" content="image"/> 10 11 <style type="text/css"><![CDATA[ 12 body { border: solid lime; background: green url(support/square-purple.png) no-repeat 50% 50%; color: white; } 13 html { border: solid blue; background: navy; color: yellow; } 14 :link, :visited { color: inherit; background: transparent; } 15 * { margin: 1em 5%; padding: 1em; } 16 body { margin-right: 30%; } 17 ]]></style> 18 19 </head> 20 <body> 21 <p> In the middle of this green box with the bright green border, there 22 should be a purple tile.</p> 23 24 25 </body> 26 </html>