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.03 margin-bottom</TITLE> | 4 <TITLE>CSS1 Test Suite: 5.5.03 margin-bottom</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 {margin-bottom: 25px; background-color: aqua;} | 11 .one {margin-bottom: 25px; background-color: aqua;} |
11 .two {margin-bottom: -10px; background-color: aqua;}</STYLE> | 12 .two {margin-bottom: -10px; background-color: aqua;}</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>.one {margin-bottom: 25px; background-color: aqua;} | 17 <PRE>.one {margin-bottom: 25px; background-color: aqua;} |
17 .two {margin-bottom: -10px; background-color: aqua;} | 18 .two {margin-bottom: -10px; background-color: aqua;} |
18 </PRE> | 19 </PRE> |
(...skipping 13 matching lines...) Expand all Loading... |
32 <TR> | 33 <TR> |
33 <TD bgcolor="silver"> </TD> | 34 <TD bgcolor="silver"> </TD> |
34 <TD><P style="background-color: gray;"> | 35 <TD><P style="background-color: gray;"> |
35 This element is unstyled save for a background color of gray.. It contains an <
SPAN class="one">inline element of class <TT>one</TT>, giving it an aqua backgro
und and a 25px bottom margin</SPAN>. Margins on inline elements does not affect
line-height calculations, so all lines in this element should have the same lin
e-height. | 36 This element is unstyled save for a background color of gray.. It contains an <
SPAN class="one">inline element of class <TT>one</TT>, giving it an aqua backgro
und and a 25px bottom margin</SPAN>. Margins on inline elements does not affect
line-height calculations, so all lines in this element should have the same lin
e-height. |
36 </P> | 37 </P> |
37 <P style="background-color: gray;"> | 38 <P style="background-color: gray;"> |
38 This element is unstyled save for a background color of gray.. It contains an <
SPAN class="two">inline element of class <TT>two</TT>, giving it an aqua backgro
und and a -10px bottom margin</SPAN>. Margins on inline elements does not affec
t line-height calculations, so all lines in this element should have the same li
ne-height. | 39 This element is unstyled save for a background color of gray.. It contains an <
SPAN class="two">inline element of class <TT>two</TT>, giving it an aqua backgro
und and a -10px bottom margin</SPAN>. Margins on inline elements does not affec
t line-height calculations, so all lines in this element should have the same li
ne-height. |
39 </P> | 40 </P> |
40 </TD></TR></TABLE></BODY> | 41 </TD></TR></TABLE></BODY> |
41 </HTML> | 42 </HTML> |
OLD | NEW |