background-repeat-no-repeat.xht (872B)
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: background-repeat:no-repeat</title> 5 <link rel="author" title="Jeffrey Carl Faden" href="http://www.jeffreyatw.com/" /> 6 <style type="text/css"> 7 <![CDATA[ 8 div { 9 background-color: grey; 10 height: 150px; 11 width: 240px; 12 } 13 ]]> 14 </style> 15 </head> 16 <body> 17 <p><img src="support/rectangle-96x60.png" alt="Image download support must be enabled"/></p> 18 <p>Test passes if the above image appears once in the below rectangle. There should be a grey area to the right and bottom of the image.</p> 19 <div> 20 <img src="support/rectangle-96x60.png" alt="Image download support must be enabled"/> 21 </div> 22 </body> 23 </html>