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: 4.1.2 Horizontal Formatting</TITLE> | 4 <TITLE>CSS1 Test Suite: 4.1.2 Horizontal Formatting</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 .ruler {padding: 0px; margin: 0px; border-width: 0px;} | 11 .ruler {padding: 0px; margin: 0px; border-width: 0px;} |
11 P#ruled {background-color: aqua; width: 400px; | 12 P#ruled {background-color: aqua; width: 400px; |
12 border-style: solid; border-color: silver; | 13 border-style: solid; border-color: silver; |
13 border-top-width: 0px; border-bottom-width: 0px; | 14 border-top-width: 0px; border-bottom-width: 0px; |
14 border-left-width: 40px; border-right-width: 40px; | 15 border-left-width: 40px; border-right-width: 40px; |
15 padding-left: 40px; padding-right: 40px; | 16 padding-left: 40px; padding-right: 40px; |
16 margin-top: 0px; margin-bottom: 0px; margin-left: 40px; margin-right: 40px;
} | 17 margin-top: 0px; margin-bottom: 0px; margin-left: 40px; margin-right: 40px;
} |
17 | 18 |
18 P.one {margin-left: 10px;} | 19 P.one {margin-left: 10px;} |
19 DIV.two {margin-left: 10px;} | 20 DIV.two {margin-left: 10px;} |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 paragraph should be reset to <CODE>auto</CODE> and thus be expanded to 50% and i
t should only occupy the left | 89 paragraph should be reset to <CODE>auto</CODE> and thus be expanded to 50% and i
t should only occupy the left |
89 half of the viewport. | 90 half of the viewport. |
90 </P> | 91 </P> |
91 | 92 |
92 <P CLASS="ten"> | 93 <P CLASS="ten"> |
93 Because this paragraph has width 100%, the auto margins become zero, so | 94 Because this paragraph has width 100%, the auto margins become zero, so |
94 it should not be centered. | 95 it should not be centered. |
95 </P> | 96 </P> |
96 </TD></TR></TABLE></BODY> | 97 </TD></TR></TABLE></BODY> |
97 </HTML> | 98 </HTML> |
OLD | NEW |