CSS1 Test Suite: 5.5.03 margin-bottom


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

The style declarations which apply to the text below are:

.one {margin-bottom: 25px; background-color: aqua;}
.two {margin-bottom: -10px; background-color: aqua;}

This element is unstyled save for a background color of gray.. It contains an inline element of class one, giving it an aqua background and a 25px bottom margin. Margins on inline elements does not affect line-height calculations, so all lines in this element should have the same line-height.

This element is unstyled save for a background color of gray.. It contains an inline element of class two, giving it an aqua background and a -10px bottom margin. Margins on inline elements does not affect line-height calculations, so all lines in this element should have the same line-height.

TABLE Testing Section
 

This element is unstyled save for a background color of gray.. It contains an inline element of class one, giving it an aqua background and a 25px bottom margin. Margins on inline elements does not affect line-height calculations, so all lines in this element should have the same line-height.

This element is unstyled save for a background color of gray.. It contains an inline element of class two, giving it an aqua background and a -10px bottom margin. Margins on inline elements does not affect line-height calculations, so all lines in this element should have the same line-height.


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