blob: 4a817d1bfd14e6205e41f1e9251159df5afa779d [file] [log] [blame]
ap9cd074c2006-01-05 20:48:53 +00001<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
thatcherffd46e02005-10-25 00:42:22 +00002<html>
3 <head>
4 <title>CSS 2.1 Test Suite: margin-right</title>
5 <style type="text/css">
6 div { font: 15px/1 Ahem; margin: 1em; background: yellow; }
7 .one { width: 8em; height: 2em; background: red url(support/swatch-green.png) right repeat-y; color: white; }
8 .one p { width: 7em; background: white; }
9 .one span { margin-right: 4em; }
10 </style>
darinec375482007-01-06 01:36:24 +000011 <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'">
thatcherffd46e02005-10-25 00:42:22 +000012 </head>
13 <body>
darinec375482007-01-06 01:36:24 +000014 <p>There should be a green vertical bar below:</p>
thatcherffd46e02005-10-25 00:42:22 +000015 <div class="one">
16 <p>x <span>x</span>x</p>
17 </div>
18 </body>
19</html>