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.02 margin-right</TITLE> | 4 <TITLE>CSS1 Test Suite: 5.5.02 margin-right</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-right: 25px; text-align: right; background-color: aqua;} | 11 .one {margin-right: 25px; text-align: right; background-color: aqua;} |
11 .two {margin-right: -10px; background-color: aqua;}</STYLE> | 12 .two {margin-right: -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-right: 25px; text-align: right; background-color: aqua;} | 17 <PRE>.one {margin-right: 25px; text-align: right; background-color: aqua;} |
17 .two {margin-right: -10px; background-color: aqua;} | 18 .two {margin-right: -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. However, it conta
ins an <SPAN class="one">inline element of class <TT>one</TT></SPAN>, which shou
ld result in 25-pixel right margin only in the <STRONG>last</STRONG> line in whi
ch the inline box appears. | 36 This element is unstyled save for a background color of gray. However, it conta
ins an <SPAN class="one">inline element of class <TT>one</TT></SPAN>, which shou
ld result in 25-pixel right margin only in the <STRONG>last</STRONG> line in whi
ch the inline box appears. |
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. However, it conta
ins an <SPAN class="two">inline element of class <TT>two</TT></SPAN>, which shou
ld result in -10px right margin only in the <STRONG>last</STRONG> line in which
the inline box appears. | 39 This element is unstyled save for a background color of gray. However, it conta
ins an <SPAN class="two">inline element of class <TT>two</TT></SPAN>, which shou
ld result in -10px right margin only in the <STRONG>last</STRONG> line in which
the inline box appears. |
39 </P> | 40 </P> |
40 </TD></TR></TABLE></BODY> | 41 </TD></TR></TABLE></BODY> |
41 </HTML> | 42 </HTML> |
OLD | NEW |