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.5 The Canvas</TITLE> | 4 <TITLE>CSS1 Test Suite: 4.5 The Canvas</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 HTML {background-color: aqua;} | 11 HTML {background-color: aqua;} |
11 BODY {background-color: green; background-image: none; margin: 25px;}</STYLE> | 12 BODY {background-color: green; background-image: none; margin: 25px;}</STYLE> |
12 | 13 |
13 </HEAD> | 14 </HEAD> |
14 | 15 |
15 <BODY><P>The style declarations which apply to the text below are:</P> | 16 <BODY><P>The style declarations which apply to the text below are:</P> |
16 <PRE>HTML {background-color: aqua;} | 17 <PRE>HTML {background-color: aqua;} |
17 BODY {background-color: green; background-image: none; margin: 25px;} | 18 BODY {background-color: green; background-image: none; margin: 25px;} |
18 </PRE> | 19 </PRE> |
19 <HR> | 20 <HR> |
20 <P>The body of this document should have a green background. It also has a marg
in of 25 pixels, so the light blue background set for the HTML element should su
rround the BODY. If the BODY content is significantly shorter than the browser'
s window height, then the bottom border may be larger than 25 pixels.</P> | 21 <P>The body of this document should have a green background. It also has a marg
in of 25 pixels, so the light blue background set for the HTML element should su
rround the BODY. If the BODY content is significantly shorter than the browser'
s window height, then the bottom border may be larger than 25 pixels.</P> |
21 | 22 |
22 | 23 |
23 <TABLE border cellspacing="0" cellpadding="3" class="tabletest"> | 24 <TABLE border cellspacing="0" cellpadding="3" class="tabletest"> |
24 <TR> | 25 <TR> |
25 <TD colspan="2" bgcolor="silver"><STRONG>TABLE Testing Section</STRONG></TD> | 26 <TD colspan="2" bgcolor="silver"><STRONG>TABLE Testing Section</STRONG></TD> |
26 </TR> | 27 </TR> |
27 <TR> | 28 <TR> |
28 <TD bgcolor="silver"> </TD> | 29 <TD bgcolor="silver"> </TD> |
29 <TD><P>The body of this document should have a green background. It also has a
margin of 25 pixels, so the light blue background set for the HTML element shoul
d surround the BODY. If the BODY content is significantly shorter than the brow
ser's window height, then the bottom border may be larger than 25 pixels.</P> | 30 <TD><P>The body of this document should have a green background. It also has a
margin of 25 pixels, so the light blue background set for the HTML element shoul
d surround the BODY. If the BODY content is significantly shorter than the brow
ser's window height, then the bottom border may be larger than 25 pixels.</P> |
30 </TD></TR></TABLE></BODY> | 31 </TD></TR></TABLE></BODY> |
31 </HTML> | 32 </HTML> |
OLD | NEW |