August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.ids.idName.paddingBottomThe paddingBottom property specifies the distance between the bottom border of an element and its content. Using dot notation, the property is associated with the ID called idName.
Listing 7.128 uses the paddingBottom property to set the distance between a line of text and its border.
<html> <script> <!-- Hide //Create a style sheet id that defines the bottom padding document.classes.FORMAT.all.borderWidths(10) document.ids.PAD.paddingBottom = "40"; //Hide End ---> </script> <p class=FORMAT id=PAD>This text has extra padding on the bottom.</p> </html> |
Read now
Unlock full access