| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
| <html> |
| <head> |
| <title>CSS 2.1 Test Suite: padding-right</title> |
| <style type="text/css"> |
| div { margin: 1em; } |
| .test { width: 10em; padding-right: 2em; padding-right: -5em; color: yellow; background: navy; } |
| .control { width: 12em; color: yellow; background: navy; } |
| </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'"> |
| <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#the-width-property" title="10.2 Content width: the 'width' property"> |
| </head> |
| <body> |
| <p>The next two bars should be identical:</p> |
| <div class="test"> TEST </div> |
| <div class="control"> TEST </div> |
| </body> |
| </html> |