August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.classes.className.tagName.paddingTop
The paddingTop property specifies the distance between the left border of an element and its content. Using dot notation, the property is associated with the class called className. The definition can also specify a tag or the word all for tagName.
Listing 7.88 uses paddingTop property to set the distance between a line of text and its border.
<html> <script> <!-- Hide //Create a style sheet class that defines the top padding document.classes.PAD.all.borderWidths(10) document.classes.PAD.all.paddingTop = "40"; //Hide End ---> </script> <p class=PAD>This ... |
Read now
Unlock full access