18 lines
707 B
HTML
18 lines
707 B
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
|
<html>
|
|
<head>
|
|
<title>CSS 2.1 Test Suite: padding-left</title>
|
|
<style type="text/css">
|
|
.three { background: url(support/swatch-red.png) no-repeat 6em 1em; font: 15px/1 Ahem; margin: 1em; }
|
|
.three p { width: 5em; color: white; }
|
|
.three span { padding-left: 4em; color: lime; }
|
|
</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 small light green square below:</p>
|
|
<div class="three">
|
|
<p>xx xx<span>x</span> xx xx</p>
|
|
</div>
|
|
</body>
|
|
</html> |