August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.classes.className.tagName.paddingRight
The paddingRight property specifies the distance between the right 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.86 uses paddingRight property to set the distance between a line of text and its border.
<html> <script> <!-- Hide //Create a style sheet class that defines the right padding document.classes.PAD.all.borderWidths(10) document.classes.PAD.all.paddingRight = "40"; //Hide End ---> </script> ... |
Read now
Unlock full access