ap | 9cd074c | 2006-01-05 20:48:53 +0000 | [diff] [blame] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
thatcher | ffd46e0 | 2005-10-25 00:42:22 +0000 | [diff] [blame] | 2 | <html> |
| 3 | <head> |
| 4 | <title>CSS 2.1 Test Suite: padding-left</title> |
| 5 | <style type="text/css"> |
| 6 | .three { background: url(support/swatch-red.png) no-repeat 6em 1em; font: 15px/1 Ahem; margin: 1em; } |
| 7 | .three p { width: 5em; color: white; } |
| 8 | .three span { padding-left: 4em; color: lime; } |
| 9 | </style> |
darin | ec37548 | 2007-01-06 01:36:24 +0000 | [diff] [blame] | 10 | <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'"> |
thatcher | ffd46e0 | 2005-10-25 00:42:22 +0000 | [diff] [blame] | 11 | </head> |
| 12 | <body> |
| 13 | <p>There should be a small light green square below:</p> |
| 14 | <div class="three"> |
| 15 | <p>xx xx<span>x</span> xx xx</p> |
| 16 | </div> |
| 17 | </body> |
| 18 | </html> |