shape-image-013-ref.html (753B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Reference File</title> 5 <link rel="author" title="Bem Jones-Bey" href="mailto:bjonesbe@adobe.com"/> 6 <style type="text/css"> 7 .container { 8 width: 150px; 9 height: 100px; 10 } 11 img { 12 position: relative; 13 left: -50px; 14 } 15 .green { 16 float: left; 17 width: 50px; 18 height: 100px; 19 background: rgb(0, 100, 0); 20 } 21 </style> 22 </head> 23 <body> 24 <p> 25 The test passes if you see a solid green square. There should be no red. 26 </p> 27 <div class="container"> 28 <div class="green"></div> 29 <img src="../support/right-half-rectangle.png"/> 30 </div> 31 </body> 32 </html>