<!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-right</title> <style type="text/css"><![CDATA[ p { color: navy; } div { font: 15px/1 Ahem; margin: 1em; } .six { width: 12em; } .six p { background: yellow; color: lime; } .six span { margin-right: -4em; background: blue; 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>The following two bars should be identical:</p> <div class="six"> <p>xx <span>xx xx xx </span> xx</p> </div> <div> <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-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-lime.png"/><img alt="" src="support/swatch-lime.png"/><img alt="" src="support/swatch-orange.png"/><img alt="" src="support/swatch-blue.png"/> </div> </body> </html>