c5505-mrgn-002

margin

WeasyPrint

This browser

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3  <head>
 4   <title>CSS Test: margin</title>
 5   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#margin">
 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   <style type="text/css">
 9    html { margin: 0; padding: 8px; }
10    body { margin: 0; padding: 0; }
11    .five { margin: -10px; color: navy; }
12   </style>
13   <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'">
14  </head>
15  <body>
16   <p class="five"> <br>&nbsp;&nbsp;This page should have a horizontal scroll bar. </p>
17  </body>
18 </html>