shape-image-021-ref.html (854B)
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 padding-left: 90px; 12 font-family: Ahem; 13 font-size: 40px; 14 color: green; 15 } 16 #image { 17 position: absolute; 18 top: 0px; 19 left: 100px; 20 float: right; 21 margin-bottom: 20px; 22 } 23 </style> 24 </head> 25 <body> 26 <p>The test passes if no red is visible.</p> 27 <div id="container"> 28 <img id="image" src="../support/right-half-rectangle.png"/> 29 X<br>X<br>X<br><span style="padding-left: 70px">X</span> 30 </div> 31 </body> 32 </html>