| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
| <html> |
| <head> |
| <title>CSS 2.1 Test Suite: padding-right</title> |
| <style type="text/css"> |
| .three { background: url(support/swatch-red.png) 5em 2em no-repeat; font: 15px/1 Ahem; margin: 1em; } |
| .three div { width: 5em; height: 4em; background: red; } |
| .three p { background: white; color: white; } |
| .three span { padding-right: 4em; background: white; color: green; } |
| </style> |
| <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'"> |
| </head> |
| <body> |
| <p>There should be a green square below:</p> |
| <div class="three"> |
| <div> |
| <p>xx xx <span>xx xx</span> xx xx</p> |
| </div> |
| </div> |
| </body> |
| </html> |