shape-image-018-ref.html (741B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Reference File</title> 5 <link rel="author" title="Hans Muller" href="mailto:hmuller@adobe.com"/> 6 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 7 <style type="text/css"> 8 #container { 9 position: relative; 10 width: 200px; 11 font-family: Ahem; 12 font-size: 40px; 13 text-align: right; 14 color: green; 15 } 16 #image { 17 float: right; 18 margin-left: 20px; 19 } 20 </style> 21 </head> 22 <body> 23 <p>The test passes if no red is visible.</p> 24 <div id="container"> 25 <img id="image" src="../support/left-half-rectangle.jpg"/> 26 X<br>X<br>X<br>X 27 </div> 28 </body> 29 </html>