The style declarations which apply to the text below are:
.one {padding-bottom: 25px; background-color: aqua;} .two {padding-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 padding. Padding on inline elements does not affect line-height calculations, so all lines in this element should have the same line-height. There may be implementation-specific limits on how much of the padding the user agent is able to display.
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 no bottom padding, since negative padding values are not allowed. Padding 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 padding. Padding on inline elements does not affect line-height calculations, so all lines in this element should have the same line-height. There may be implementation-specific limits on how much of the padding the user agent is able to display. 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 no bottom padding, since negative padding values are not allowed. Padding on inline elements does not affect line-height calculations, so all lines in this element should have the same line-height. |