background-intrinsic-ref.xht (741B)
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 Reference</title> 5 <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/> 6 <meta name="flags" content="svg" /> 7 <style type="text/css"> 8 /* Setup. Use 5:6 ratio because it's weird and unlikely to be hard-coded anywhere. */ 9 div { 10 position: relative; 11 width: 120px; 12 height: 120px; 13 margin: 0.5em; 14 background: green; 15 } 16 </style> 17 </head> 18 <body> 19 <p>There must be two green boxes below and no red.</p> 20 21 <div class="cover"> 22 </div> 23 24 <div class="limit"> 25 </div> 26 27 </body> 28 </html>