shape-image-012-ref.html (1005B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Reference File</title> 5 <link rel="author" title="Zoltan Horvath" href="mailto:zoltan@adobe.com"/> 6 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 7 <style type="text/css"> 8 .container { 9 position: absolute; 10 top: 70px; 11 left: 8px; 12 width: 200px; 13 height: 200px; 14 font-family: Ahem; 15 font-size: 20px; 16 line-height: 20px; 17 text-align: right; 18 color: green; 19 } 20 #image { float: right; } 21 </style> 22 </head> 23 <body> 24 <p> 25 The test passes if there's a green square with an image at top right with vertical white and green stripes. 26 There should be no red. 27 </p> 28 <div class="container"> 29 <img id="image" src="../support/right-half-rectangle.jpg"/> 30 XXXXX XXXXX XXXXX XXXXX XXXXX 31 XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX 32 </div> 33 </body> 34 </html>