vertical-align-applies-to-007-ref.xht (760B)
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 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 10 11 <style type="text/css"><![CDATA[ 12 div 13 { 14 background-color: orange; 15 height: 96px; 16 width: 96px; 17 } 18 19 img 20 { 21 position: relative; 22 top: 76px; 23 } 24 ]]></style> 25 26 </head> 27 28 <body> 29 30 <p>Test passes if the blue square is in the <strong>lower-left corner</strong> of a bigger orange square.</p> 31 32 <div><img src="support/swatch-blue.png" width="20" height="20" alt="Image download support must be enabled" /></div> 33 34 </body> 35 </html>