| 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: padding-right</title> | 4 <title>CSS 2.1 Test Suite: padding-right</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; } | 7 div { font: 15px/1 Ahem; margin: 1em; } |
| 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) 3em 0 no
-repeat; } | 9 .two p { color: white; background: white url(support/swatch-red.png) 3em 0 no
-repeat; } |
| 9 .two span { padding-right: 4em; color: white; } | 10 .two span { padding-right: 4em; color: white; } |
| 10 </style> | 11 </style> |
| 11 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#padding-properties"
title="8.4 Padding properties: 'padding-top', 'padding-right', 'padding-bottom'
, 'padding-left', and 'padding'"> | 12 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#padding-properties"
title="8.4 Padding properties: 'padding-top', 'padding-right', 'padding-bottom'
, 'padding-left', and 'padding'"> |
| 12 </head> | 13 </head> |
| 13 <body> | 14 <body> |
| 14 <p>There should be a green bar below:</p> | 15 <p>There should be a green 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 |