19 lines
738 B
HTML
19 lines
738 B
HTML
<!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 { font: 15px/1 Ahem; margin: 1em; }
|
|
.two { width: 13em; height: 3em; background: green; }
|
|
.two p { color: white; background: white url(support/swatch-red.png) 3em 0 no-repeat; }
|
|
.two span { padding-right: 4em; color: white; }
|
|
</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 bar below:</p>
|
|
<div class="two">
|
|
<p>x <span>xxxxx xxxxx</span> x</p>
|
|
</div>
|
|
</body>
|
|
</html> |