c5504-imrgn-l-006.xht (1964B)
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-left</title> 5 <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/> 6 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 7 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-30 --> 8 <link rel="help" href="http://www.w3.org/TR/REC-CSS1#margin-left"/> 9 <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'"/> 10 <link rel="match" href="c5504-imrgn-l-006-ref.xht" /> 11 12 <meta name="flags" content="ahem image" /> 13 14 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 15 <style type="text/css"><![CDATA[ 16 .seven { font: 15px/1 Ahem; margin: 1em 2em; width: 5em; } 17 .seven p { background: yellow; color: lime; } 18 .seven span { margin-left: -4em; background: red; color: orange; } 19 ]]></style> 20 </head> 21 <body> 22 <p class="criteria">The following two bars should be identical:</p> 23 <div class="seven"> 24 <p>xx <span>xx</span></p> 25 </div> 26 <div> 27 <img src="support/swatch-white.png" alt="Image download support must be enabled" 28 /><img src="support/swatch-orange.png" alt="Image download support must be enabled" 29 /><img src="support/swatch-orange.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-yellow.png" alt="Image download support must be enabled" 33 /><img src="support/swatch-yellow.png" alt="Image download support must be enabled"/> 34 </div> 35 </body> 36 </html>