1
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN">
4 <title>CSS
2.1 Test Suite: margin-left
</title>
5 <style type=
"text/css">
7 div
{ font: 15px/1 Ahem
; margin: 1em; }
9 .six p { background: yellow
; color: lime
; }
10 .six span { margin-left: -4em; background: blue
; color: orange
; }
12 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/box.html#margin-properties" title=
"8.3 Margin properties: 'margin-top', 'margin-right', 'margin-bottom', 'margin-left', and 'margin'">
15 <p>The following two bars should be identical:
</p>
17 <p>xx xx xx
<span>xx xx
</span> xx
</p>
20 <img alt=
"" src=
"support/swatch-lime.png"><img alt=
"" src=
"support/swatch-lime.png"><img alt=
"" src=
"support/swatch-yellow.png"><img alt=
"" src=
"support/swatch-lime.png"><img alt=
"" src=
"support/swatch-lime.png"><img alt=
"" src=
"support/swatch-orange.png"><img alt=
"" src=
"support/swatch-orange.png"><img alt=
"" src=
"support/swatch-blue.png"><img alt=
"" src=
"support/swatch-orange.png"><img alt=
"" src=
"support/swatch-orange.png"><img alt=
"" src=
"support/swatch-blue.png"><img alt=
"" src=
"support/swatch-lime.png"><img alt=
"" src=
"support/swatch-lime.png">