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.25 float</TITLE> | 4 <TITLE>CSS1 Test Suite: 5.5.25 float</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 P { margin: 0; padding: 0; text-align: justify;} | 11 P { margin: 0; padding: 0; text-align: justify;} |
11 .one {float: left; width: 50%; background-color: yellow; padding: 0; margin: 0;} | 12 .one {float: left; width: 50%; background-color: yellow; padding: 0; margin: 0;} |
12 .two {float: left; background-color: yellow; width: 100%; | 13 .two {float: left; background-color: yellow; width: 100%; |
13 margin: 0; padding: 0; border-width: 0;} | 14 margin: 0; padding: 0; border-width: 0;} |
14 .three {float: none;} | 15 .three {float: none;} |
15 .four {float: left; font-size: 200%; font-weight: bold; | 16 .four {float: left; font-size: 200%; font-weight: bold; |
16 width: 1.5em; background-color: silver;} | 17 width: 1.5em; background-color: silver;} |
17 .five {float: right; width: 20em; | 18 .five {float: right; width: 20em; |
18 background-color: yellow; border: 3px solid red; | 19 background-color: yellow; border: 3px solid red; |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 child of the blue DIV, the yellow DIV should appear inside the | 190 child of the blue DIV, the yellow DIV should appear inside the |
190 blue rectangle. Due to it being floated to the right and having | 191 blue rectangle. Due to it being floated to the right and having |
191 a 10px right margin, the yellow rectange should have a 10px blue | 192 a 10px right margin, the yellow rectange should have a 10px blue |
192 stripe on its right side.</P> | 193 stripe on its right side.</P> |
193 | 194 |
194 </DIV> | 195 </DIV> |
195 | 196 |
196 <BR clear="all"><HR> | 197 <BR clear="all"><HR> |
197 </TD></TR></TABLE></BODY> | 198 </TD></TR></TABLE></BODY> |
198 </HTML> | 199 </HTML> |
OLD | NEW |