background-root-004-ref.xht (772B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 5 <head> 6 7 <title>CSS Reftest Reference</title> 8 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 9 10 <style type="text/css"><![CDATA[ 11 body 12 { 13 background-color: navy; 14 border: blue solid; 15 color: white; 16 margin: 1em; 17 padding: 2em; 18 } 19 20 div 21 { 22 background-color: green; 23 border: lime solid; 24 padding: 3em; 25 } 26 ]]></style> 27 28 </head> 29 30 <body> 31 32 <div>This paragraph should be a box that is green with a green 33 border, which should be in a navy box with a bright blue border. 34 The rest of the page should also be navy.</div> 35 36 </body> 37 </html>