CSS1 Test Suite: 5.5.02 margin-right


[Previous] [Next] [Section] [Contents] [Specification]

The style declarations which apply to the text below are:

.one {margin-right: 25px; text-align: right; background-color: aqua;}
.two {margin-right: -10px; background-color: aqua;}

This element is unstyled save for a background color of gray. However, it contains an inline element of class one, which should result in 25-pixel right margin only in the last line in which the inline box appears.

This element is unstyled save for a background color of gray. However, it contains an inline element of class two, which should result in -10px right margin only in the last line in which the inline box appears.

TABLE Testing Section
 

This element is unstyled save for a background color of gray. However, it contains an inline element of class one, which should result in 25-pixel right margin only in the last line in which the inline box appears.

This element is unstyled save for a background color of gray. However, it contains an inline element of class two, which should result in -10px right margin only in the last line in which the inline box appears.


[Previous] [Next] [Section] [Contents] [Specification]