| 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.01 margin-top</TITLE> | 4 <TITLE>CSS1 Test Suite: 5.5.01 margin-top</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 .zero {background-color: silver; margin-top: 0;} | 11 .zero {background-color: silver; margin-top: 0;} |
| 11 .one {margin-top: 0.5in; background-color: aqua;} | 12 .one {margin-top: 0.5in; background-color: aqua;} |
| 12 .two {margin-top: 25px; background-color: aqua;} | 13 .two {margin-top: 25px; background-color: aqua;} |
| 13 .three {margin-top: 5em; background-color: aqua;} | 14 .three {margin-top: 5em; background-color: aqua;} |
| 14 .four {margin-top: 25%; background-color: aqua;} | 15 .four {margin-top: 25%; background-color: aqua;} |
| 15 .five {margin-top: 25px;} | 16 .five {margin-top: 25px;} |
| 16 .six {margin-top: -10px; background-color: aqua;} | 17 .six {margin-top: -10px; background-color: aqua;} |
| 17 P, UL {margin-bottom: 0;}</STYLE> | 18 P, UL {margin-bottom: 0;}</STYLE> |
| 18 | 19 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 <LI class="five">This list item has a top margin of 25px, which should cause it
to be offset in some fashion. | 93 <LI class="five">This list item has a top margin of 25px, which should cause it
to be offset in some fashion. |
| 93 <LI>This list item has no special styles applied to it. | 94 <LI>This list item has no special styles applied to it. |
| 94 </UL> | 95 </UL> |
| 95 <P class="zero"> | 96 <P class="zero"> |
| 96 This element has a class of zero. | 97 This element has a class of zero. |
| 97 </P> | 98 </P> |
| 98 <P class="six"> | 99 <P class="six"> |
| 99 This element has a top margin of -10px, which should cause it to be shifted "upw
ard" on the page, and no bottom margin. No other styles have been applied to it
besides a light blue background color. In all other respects, the element shou
ld be normal. | 100 This element has a top margin of -10px, which should cause it to be shifted "upw
ard" on the page, and no bottom margin. No other styles have been applied to it
besides a light blue background color. In all other respects, the element shou
ld be normal. |
| 100 </P></TD></TR></TABLE></BODY> | 101 </P></TD></TR></TABLE></BODY> |
| 101 </HTML> | 102 </HTML> |
| OLD | NEW |