1
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN">
4 <title>CSS
2.1 Test Suite: padding-left
</title>
5 <script src=
"../resources/ahem.js"></script>
6 <style type=
"text/css">
7 div
{ font: 15px/1 Ahem
; margin: 1em; }
8 .one { width: 8em; height: 2em; background: red url
(support
/swatch-green
.png
) right repeat-y
; color: white
; }
9 .one p { width: 7em; background: white
; }
10 .one span { padding-left: 4em; }
12 <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'">
15 <p>There should be a green vertical bar below:
</p>
17 <p>x
<span>x
</span>x
</p>