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.26 clear</TITLE> | 4 <TITLE>CSS1 Test Suite: 5.5.26 clear</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 P { margin: 0; padding: 0; text-align: justify;} | 12 P { margin: 0; padding: 0; text-align: justify;} |
12 | 13 |
13 DIV.menu {float: left; clear: left; width: 11em; | 14 DIV.menu {float: left; clear: left; width: 11em; |
14 margin: 0; margin-bottom: 10px; padding: 0.5em;} | 15 margin: 0; margin-bottom: 10px; padding: 0.5em;} |
15 DIV.menu H1 {font-size: 1.2em; margin: 0; padding: 0;} | 16 DIV.menu H1 {font-size: 1.2em; margin: 0; padding: 0;} |
16 DIV.menu UL {margin: 0.2em 0.3em 0.2em 1em; padding: 0;} | 17 DIV.menu UL {margin: 0.2em 0.3em 0.2em 1em; padding: 0;} |
17 DIV.article {padding: 0.5em; margin: 0; margin-left: 14em; margin-right: 2em; | 18 DIV.article {padding: 0.5em; margin: 0; margin-left: 14em; margin-right: 2em; |
18 color: black; background: yellow; clear: none;} | 19 color: black; background: yellow; clear: none;} |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 90 |
90 <div class=article> | 91 <div class=article> |
91 <h1>The 'clear' property</h1> | 92 <h1>The 'clear' property</h1> |
92 <p>This page has two floating "menus" on the side; one has a green background,
and the other a blue background. Due to settings on the 'float' and 'clear' pro
perties, the two menus should appear on the left side of the page, the blue belo
w the green. There should be a 10px gap between the two menus. There should also
be a 10px gap between the top menu and the top of the page. | 93 <p>This page has two floating "menus" on the side; one has a green background,
and the other a blue background. Due to settings on the 'float' and 'clear' pro
perties, the two menus should appear on the left side of the page, the blue belo
w the green. There should be a 10px gap between the two menus. There should also
be a 10px gap between the top menu and the top of the page. |
93 </p> | 94 </p> |
94 <P>The top of the yellow rectangle (to which this paragraph belongs) should be
vertically aligned with the top of the green rectangle. | 95 <P>The top of the yellow rectangle (to which this paragraph belongs) should be
vertically aligned with the top of the green rectangle. |
95 </P> | 96 </P> |
96 </div> | 97 </div> |
97 </TD></TR></TABLE></BODY> | 98 </TD></TR></TABLE></BODY> |
98 </HTML> | 99 </HTML> |
OLD | NEW |