floats-004-ref.xht (810B)
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 div 12 { 13 text-align: right; 14 } 15 16 img {vertical-align: top;} 17 ]]></style> 18 19 </head> 20 21 <body> 22 23 <p>Test passes if the blue square is to the left of the orange square and the squares top edges are aligned.</p> 24 25 <div><img src="support/swatch-blue.png" width="96" height="96" alt="Image download support must be enabled" /><img src="support/swatch-orange.png" width="96" height="96" alt="Image download support must be enabled" /></div> 26 27 </body> 28 </html>