shape-outside-004-ref.html (1214B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Reference File</title> 5 <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@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 width: 400px; 12 font-family: Ahem; 13 font-size: 20px; 14 line-height: 1.5em; 15 color: green; 16 } 17 #square{ 18 position: absolute; 19 top: 70px; 20 width: 196px; 21 height: 196px; 22 border: 1px solid black; 23 z-index: 10; 24 } 25 26 </style> 27 </head> 28 <body> 29 <p> 30 The test passes if there are two columns of six green horizontal bars of the same 31 size inside the square and two columns of six matching green bars outside and to the 32 right of the square. There should be no red. 33 </p> 34 <div id="container"> 35 XXXX XXXX XXXX XXXX 36 XXXX XXXX XXXX XXXX 37 XXXX XXXX XXXX XXXX 38 XXXX XXXX XXXX XXXX 39 XXXX XXXX XXXX XXXX 40 XXXX XXXX XXXX XXXX 41 </div> 42 <div id="square"></div> 43 44 </body> 45 </html>