c5504-imrgn-l-000.xht (1280B)
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 <meta name="flags" content="ahem image" /> 6 <link rel="help" href="http://www.w3.org/TR/REC-CSS1#margin-left"/> 7 <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/> 8 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 9 <link rel="match" href="c5502-imrgn-r-000-ref.xht" /> 10 11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style type="text/css"><![CDATA[ 13 div { font: 15px/1 Ahem; margin: 1em; background: yellow; } 14 .one { width: 8em; height: 2em; background: red url(support/swatch-green.png) right repeat-y; color: white; } 15 .one p { width: 7em; background: white; } 16 .one span { margin-left: 4em; } 17 ]]></style> 18 <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'"/> 19 </head> 20 <body> 21 <p>Test passes if there is a short green vertical bar and no red.</p> 22 <div class="one"> 23 <p>x <span>x</span>x</p> 24 </div> 25 </body> 26 </html>