| 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 <STYLE type="text/css"> | 9 <STYLE type="text/css"> |
| 10 body {overflow: hidden;} |
| 10 P { margin: 0; padding: 0; text-align: justify;} | 11 P { margin: 0; padding: 0; text-align: justify;} |
| 11 | 12 |
| 12 DIV.menu {float: left; clear: left; width: 11em; | 13 DIV.menu {float: left; clear: left; width: 11em; |
| 13 margin: 0; margin-bottom: 10px; padding: 0.5em;} | 14 margin: 0; margin-bottom: 10px; padding: 0.5em;} |
| 14 DIV.menu H1 {font-size: 1.2em; margin: 0; padding: 0;} | 15 DIV.menu H1 {font-size: 1.2em; margin: 0; padding: 0;} |
| 15 DIV.menu UL {margin: 0.2em 0.3em 0.2em 1em; padding: 0;} | 16 DIV.menu UL {margin: 0.2em 0.3em 0.2em 1em; padding: 0;} |
| 16 DIV.article {padding: 0.5em; margin: 0; margin-left: 14em; margin-right: 2em; | 17 DIV.article {padding: 0.5em; margin: 0; margin-left: 14em; margin-right: 2em; |
| 17 color: black; background: yellow; clear: none;} | 18 color: black; background: yellow; clear: none;} |
| 18 </STYLE> | 19 </STYLE> |
| 19 | 20 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 | 89 |
| 89 <div class=article> | 90 <div class=article> |
| 90 <h1>The 'clear' property</h1> | 91 <h1>The 'clear' property</h1> |
| 91 <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. | 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. |
| 92 </p> | 93 </p> |
| 93 <P>The top of the yellow rectangle (to which this paragraph belongs) should be
vertically aligned with the top of the green rectangle. | 94 <P>The top of the yellow rectangle (to which this paragraph belongs) should be
vertically aligned with the top of the green rectangle. |
| 94 </P> | 95 </P> |
| 95 </div> | 96 </div> |
| 96 </TD></TR></TABLE></BODY> | 97 </TD></TR></TABLE></BODY> |
| 97 </HTML> | 98 </HTML> |
| OLD | NEW |