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 <STYLE type="text/css"> | 9 <STYLE type="text/css"> |
| 10 body {overflow: hidden;} |
10 .zero {background-color: silver; margin: 0;} | 11 .zero {background-color: silver; margin: 0;} |
11 .one {margin: 0.5in; background-color: aqua;} | 12 .one {margin: 0.5in; background-color: aqua;} |
12 .two {margin: 25px; background-color: aqua;} | 13 .two {margin: 25px; background-color: aqua;} |
13 .three {margin: 5em; background-color: aqua;} | 14 .three {margin: 5em; background-color: aqua;} |
14 .four {margin: 25%; background-color: aqua;} | 15 .four {margin: 25%; background-color: aqua;} |
15 .five {margin: 25px;} | 16 .five {margin: 25px;} |
16 .six {margin: -10px; background-color: aqua;}</STYLE> | 17 .six {margin: -10px; background-color: aqua;}</STYLE> |
17 | 18 |
18 </HEAD> | 19 </HEAD> |
19 | 20 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 This element has a class of zero. | 121 This element has a class of zero. |
121 </P> | 122 </P> |
122 <P class="six"> | 123 <P class="six"> |
123 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. | 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. |
124 </P> | 125 </P> |
125 <P class="zero"> | 126 <P class="zero"> |
126 This element has a class of zero. | 127 This element has a class of zero. |
127 </P> | 128 </P> |
128 </TD></TR></TABLE></BODY> | 129 </TD></TR></TABLE></BODY> |
129 </HTML> | 130 </HTML> |
OLD | NEW |