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 div { font: 15px/1 Ahem; margin: 1em; background: yellow; } | 7 div { font: 15px/1 Ahem; margin: 1em; background: yellow; } |
7 .two { width: 13em; height: 3em; background: green; } | 8 .two { width: 13em; height: 3em; background: green; } |
8 .two p { color: white; background: white url(support/swatch-red.png) 6em 1em
no-repeat; } | 9 .two p { color: white; background: white url(support/swatch-red.png) 6em 1em
no-repeat; } |
9 .two span { margin-left: 4em; color: white; } | 10 .two span { margin-left: 4em; color: white; } |
10 </style> | 11 </style> |
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'"> | 12 <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'"> |
12 </head> | 13 </head> |
13 <body> | 14 <body> |
14 <p>There should be a green horizontal bar below:</p> | 15 <p>There should be a green horizontal bar below:</p> |
15 <div class="two"> | 16 <div class="two"> |
16 <p>x <span>xxxxx xxxxx</span> x</p> | 17 <p>x <span>xxxxx xxxxx</span> x</p> |
17 </div> | 18 </div> |
18 </body> | 19 </body> |
19 </html> | 20 </html> |
OLD | NEW |