OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>CSS 2.1 Test Suite: margin-left</title> | 4 <title>CSS 2.1 Test Suite: margin-left</title> |
| 5 <script src="../resources/ahem.js"></script> |
5 <style type="text/css"> | 6 <style type="text/css"> |
6 .five { font: 15px/1 Ahem; margin: 1em; background: green; width: 8em; height
: 3em; } | 7 .five { font: 15px/1 Ahem; margin: 1em; background: green; width: 8em; height
: 3em; } |
7 .five p { background: white url(support/swatch-red.png) 3em 0 no-repeat; colo
r: white; } | 8 .five p { background: white url(support/swatch-red.png) 3em 0 no-repeat; colo
r: white; } |
8 .five span { margin-left: -4em; } | 9 .five span { margin-left: -4em; } |
9 </style> | 10 </style> |
10 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#margin-properties"
title="8.3 Margin properties: 'margin-top', 'margin-right', 'margin-bottom', '
margin-left', and 'margin'"> | 11 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#margin-properties"
title="8.3 Margin properties: 'margin-top', 'margin-right', 'margin-bottom', '
margin-left', and 'margin'"> |
11 </head> | 12 </head> |
12 <body> | 13 <body> |
13 <p>There should be a green bar below:</p> | 14 <p>There should be a green bar below:</p> |
14 <div class="five"> | 15 <div class="five"> |
15 <p>x x x x<span>x</span>x x x x x x</p> | 16 <p>x x x x<span>x</span>x x x x x x</p> |
16 </div> | 17 </div> |
17 </body> | 18 </body> |
18 </html> | 19 </html> |
OLD | NEW |