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.02 margin-right</TITLE> | 4 <TITLE>CSS1 Test Suite: 5.5.02 margin-right</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-right: 0; text-align: right;} | 11 .zero {background-color: silver; margin-right: 0; text-align: right;} |
11 .one {margin-right: 0.5in; text-align: right; background-color: aqua;} | 12 .one {margin-right: 0.5in; text-align: right; background-color: aqua;} |
12 .two {margin-right: 25px; text-align: right; background-color: aqua;} | 13 .two {margin-right: 25px; text-align: right; background-color: aqua;} |
13 .three {margin-right: 5em; text-align: right; background-color: aqua;} | 14 .three {margin-right: 5em; text-align: right; background-color: aqua;} |
14 .four {margin-right: 25%; text-align: right; background-color: aqua;} | 15 .four {margin-right: 25%; text-align: right; background-color: aqua;} |
15 .five {margin-right: -10px; background-color: aqua;}</STYLE> | 16 .five {margin-right: -10px; background-color: aqua;}</STYLE> |
16 | 17 |
17 </HEAD> | 18 </HEAD> |
18 | 19 |
19 <BODY><P>The style declarations which apply to the text below are:</P> | 20 <BODY><P>The style declarations which apply to the text below are:</P> |
(...skipping 58 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 right margin also set to 25 pixels, which should com
bine with the list's margin to make 50 pixels of margin, and its background-colo
r 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 right margin also set to 25 pixels, which should com
bine with the list's margin to make 50 pixels of margin, and its background-colo
r 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 right margin of -10px, which should cause it to be wider th
an it might otherwise be, and it has a light blue background. In all other resp
ects, however, the element should be normal. No styles have been applied to it
besides the negative right margin and the background color. | 86 This paragraph has a right margin of -10px, which should cause it to be wider th
an it might otherwise be, and it has a light blue background. In all other resp
ects, however, the element should be normal. No styles have been applied to it
besides the negative right margin and the background color. |
86 </P></TD></TR></TABLE></BODY> | 87 </P></TD></TR></TABLE></BODY> |
87 </HTML> | 88 </HTML> |
OLD | NEW |