CSS1 Test Suite: 5.5.04 margin-left


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

The style declarations which apply to the text below are:

.one {margin-left: 25px; background-color: aqua;}
.two {margin-left: -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 left margin only in the first 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 left margin only in the first 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 left margin only in the first 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 left margin only in the first line in which the inline box appears.


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