c5502-imrgn-r-005.xht (2388B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: margin-right</title> 5 6 <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/> 7 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 8 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-30 --> 9 <link rel="help" href="http://www.w3.org/TR/REC-CSS1#margin-right"/> 10 <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'"/> 11 <link rel="match" href="c5502-imrgn-r-005-ref.xht" /> 12 13 <meta name="flags" content="ahem image" /> 14 15 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 16 <style type="text/css"><![CDATA[ 17 div { font: 15px/1 Ahem; margin: 1em; } 18 .six { width: 12em; } 19 .six p { background: yellow; color: lime; } 20 .six span { margin-right: -4em; background: blue; color: orange; } 21 ]]></style> 22 </head> 23 <body> 24 <p>The following two bars should be identical:</p> 25 <div class="six"> 26 <p>xx <span>xx xx xx </span> xx</p> 27 </div> 28 <div> 29 <img src="support/swatch-lime.png" alt="Image download support must be enabled" 30 /><img src="support/swatch-lime.png" alt="Image download support must be enabled" 31 /><img src="support/swatch-yellow.png" alt="Image download support must be enabled" 32 /><img src="support/swatch-orange.png" alt="Image download support must be enabled" 33 /><img src="support/swatch-orange.png" alt="Image download support must be enabled" 34 /><img src="support/swatch-blue.png" alt="Image download support must be enabled" 35 /><img src="support/swatch-orange.png" alt="Image download support must be enabled" 36 /><img src="support/swatch-orange.png" alt="Image download support must be enabled" 37 /><img src="support/swatch-lime.png" alt="Image download support must be enabled" 38 /><img src="support/swatch-lime.png" alt="Image download support must be enabled" 39 /><img src="support/swatch-orange.png" alt="Image download support must be enabled" 40 /><img src="support/swatch-blue.png" alt="Image download support must be enabled"/> 41 </div> 42 </body> 43 </html>