<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>CSS 2.1 Test Suite: margin-left</title> <style type="text/css"><![CDATA[ p { color: navy; } .seven { font: 15px/1 Ahem; margin: 1em 2em; width: 5em; } .seven p { background: yellow; color: lime; } .seven span { margin-left: -4em; background: red; color: orange; } ]]></style> <link title="8.3 Margin properties: 'margin-top', 'margin-right', 'margin-bottom', 'margin-left', and 'margin'" href="http://www.w3.org/TR/CSS21/box.html#margin-properties" rel="help"/> </head> <body> <p class="criteria">The following two bars should be identical:</p> <div class="seven"> <p>xx <span>xx</span></p> </div> <div> <img alt="" src="support/swatch-white.png"/><img alt="" src="support/swatch-orange.png"/><img alt="" src="support/swatch-orange.png"/><img alt="" src="support/swatch-lime.png"/><img alt="" src="support/swatch-yellow.png"/><img alt="" src="support/swatch-yellow.png"/><img alt="" src="support/swatch-yellow.png"/> </div> </body> </html>