OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org
/TR/REC-html40/loose.dtd"> | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org
/TR/REC-html40/loose.dtd"> |
2 <HTML> | 2 <HTML> |
3 <HEAD> | 3 <HEAD> |
4 <TITLE>CSS1 Test Suite: 5.5.05 margin</TITLE> | 4 <TITLE>CSS1 Test Suite: 5.5.05 margin</TITLE> |
5 <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | 5 <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
6 <META http-equiv="Content-Style-Type" content="text/css"> | 6 <META http-equiv="Content-Style-Type" content="text/css"> |
7 | 7 |
8 <LINK rel="stylesheet" type="text/css" media="screen" href="../resources/base.cs
s"> | 8 <LINK rel="stylesheet" type="text/css" media="screen" href="../resources/base.cs
s"> |
| 9 <SCRIPT src="../resources/base.js"></SCRIPT> |
9 <STYLE type="text/css"> | 10 <STYLE type="text/css"> |
10 body {overflow: hidden;} | 11 body {overflow: hidden;} |
11 .zero {background-color: silver; margin: 0;} | 12 .zero {background-color: silver; margin: 0;} |
12 .one {margin: 0.5in; background-color: aqua;} | 13 .one {margin: 0.5in; background-color: aqua;} |
13 .two {margin: 25px; background-color: aqua;} | 14 .two {margin: 25px; background-color: aqua;} |
14 .three {margin: 5em; background-color: aqua;} | 15 .three {margin: 5em; background-color: aqua;} |
15 .four {margin: 25%; background-color: aqua;} | 16 .four {margin: 25%; background-color: aqua;} |
16 .five {margin: 25px;} | 17 .five {margin: 25px;} |
17 .six {margin: -10px; background-color: aqua;}</STYLE> | 18 .six {margin: -10px; background-color: aqua;}</STYLE> |
18 | 19 |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 This element has a class of zero. | 122 This element has a class of zero. |
122 </P> | 123 </P> |
123 <P class="six"> | 124 <P class="six"> |
124 This paragraph has an overall margin of -10px, which should make it wider than u
sual as well as shift it upward and pull subsequent text up toward it, and a lig
ht blue background. In all other respects, however, the element should be norma
l. No styles have been applied to it besides the negative margin and the backgr
ound color. | 125 This paragraph has an overall margin of -10px, which should make it wider than u
sual as well as shift it upward and pull subsequent text up toward it, and a lig
ht blue background. In all other respects, however, the element should be norma
l. No styles have been applied to it besides the negative margin and the backgr
ound color. |
125 </P> | 126 </P> |
126 <P class="zero"> | 127 <P class="zero"> |
127 This element has a class of zero. | 128 This element has a class of zero. |
128 </P> | 129 </P> |
129 </TD></TR></TABLE></BODY> | 130 </TD></TR></TABLE></BODY> |
130 </HTML> | 131 </HTML> |
OLD | NEW |