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.23 width</TITLE> | 4 <TITLE>CSS1 Test Suite: 5.5.23 width</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 .one {width: 50px;} | 11 .one {width: 50px;} |
11 .two {width: 50%;} | 12 .two {width: 50%;} |
12 TABLE {width: 50%;}</STYLE> | 13 TABLE {width: 50%;}</STYLE> |
13 | 14 |
14 </HEAD> | 15 </HEAD> |
15 | 16 |
16 <BODY><P>The style declarations which apply to the text below are:</P> | 17 <BODY><P>The style declarations which apply to the text below are:</P> |
17 <PRE>.one {width: 50px;} | 18 <PRE>.one {width: 50px;} |
18 .two {width: 50%;} | 19 .two {width: 50%;} |
(...skipping 25 matching lines...) Expand all Loading... |
44 </P> | 45 </P> |
45 <IMG SRC="../resources/oransqr.gif" class="two" alt="[Image]"> | 46 <IMG SRC="../resources/oransqr.gif" class="two" alt="[Image]"> |
46 <P> | 47 <P> |
47 The square above should be half as wide as the image's parent element (either th
e BODY or the table cell). | 48 The square above should be half as wide as the image's parent element (either th
e BODY or the table cell). |
48 </P> | 49 </P> |
49 <P class="two"> | 50 <P class="two"> |
50 This paragraph should be half the width of its parent element (either the BODY o
r the table, which should itself be half as wide as the BODY element). This is
extra text included to ensure that this will be a fair test of the <CODE>width</
CODE> property without the need for the user to resize the viewing window. | 51 This paragraph should be half the width of its parent element (either the BODY o
r the table, which should itself be half as wide as the BODY element). This is
extra text included to ensure that this will be a fair test of the <CODE>width</
CODE> property without the need for the user to resize the viewing window. |
51 </P> | 52 </P> |
52 </TD></TR></TABLE></BODY> | 53 </TD></TR></TABLE></BODY> |
53 </HTML> | 54 </HTML> |
OLD | NEW |