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.04 margin-left</TITLE> | 4 <TITLE>CSS1 Test Suite: 5.5.04 margin-left</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-left: 0;} | 11 .zero {background-color: silver; margin-left: 0;} |
11 .one {margin-left: 0.5in; background-color: aqua;} | 12 .one {margin-left: 0.5in; background-color: aqua;} |
12 .two {margin-left: 25px; background-color: aqua;} | 13 .two {margin-left: 25px; background-color: aqua;} |
13 .three {margin-left: 5em; background-color: aqua;} | 14 .three {margin-left: 5em; background-color: aqua;} |
14 .four {margin-left: 25%; background-color: aqua;} | 15 .four {margin-left: 25%; background-color: aqua;} |
15 .five {margin-left: -10px; background-color: aqua;}</STYLE> | 16 .five {margin-left: -10px; background-color: aqua;}</STYLE> |
16 | 17 |
17 </HEAD> | 18 </HEAD> |
18 | 19 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 <LI class="two" style="background-color: white;">Another list item might not be
such a bad idea, either, considering that such things do need to be double-check
ed. This list item has its left margin also set to 25 pixels, which should comb
ine with the list's margin to make 50 pixels of margin, and its background color
has been set to white. | 79 <LI class="two" style="background-color: white;">Another list item might not be
such a bad idea, either, considering that such things do need to be double-check
ed. This list item has its left margin also set to 25 pixels, which should comb
ine with the list's margin to make 50 pixels of margin, and its background color
has been set to white. |
79 <LI>This is an unclassed list item | 80 <LI>This is an unclassed list item |
80 </UL> | 81 </UL> |
81 <P class="zero"> | 82 <P class="zero"> |
82 This element has a class of zero. | 83 This element has a class of zero. |
83 </P> | 84 </P> |
84 <P class="five"> | 85 <P class="five"> |
85 This paragraph has a left margin of -10px, which should cause it to be wider tha
n it might otherwise be, and it has a light blue background. In all other respe
cts, however, the element should be normal. No styles have been applied to it b
esides the negative left margin and the background color. | 86 This paragraph has a left margin of -10px, which should cause it to be wider tha
n it might otherwise be, and it has a light blue background. In all other respe
cts, however, the element should be normal. No styles have been applied to it b
esides the negative left margin and the background color. |
86 </P></TD></TR></TABLE></BODY> | 87 </P></TD></TR></TABLE></BODY> |
87 </HTML> | 88 </HTML> |
OLD | NEW |