OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <style> |
| 3 .grid { |
| 4 border: 2px solid black; |
| 5 width: 100px; |
| 6 height: 40px; |
| 7 background: gray; |
| 8 } |
| 9 |
| 10 .abs { height: 5px; float: left; } |
| 11 |
| 12 #item { |
| 13 width: 90px; |
| 14 height: 30px; |
| 15 margin-top: 10px; |
| 16 } |
| 17 </style> |
| 18 |
| 19 <p>This test passes if you see a gray box with a black border color with 5 recta
ngles inside. The first line contains a purple, orange, yellow and magenta boxes
. Bellow them you should see a 90px cyan box.</p> |
| 20 |
| 21 <div class="grid"> |
| 22 <div class="abs" style="background: purple; width: 10px;"></div> |
| 23 <div class="abs" style="background: orange; width: 20px;"></div> |
| 24 <div class="abs" style="background: yellow; width: 30px;"></div> |
| 25 <div class="abs" style="background: magenta; width: 40px;"></div> |
| 26 <div id="item" style="background: cyan;"</div> |
| 27 </div> |
| 28 |
OLD | NEW |