August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.ids.idName.marginRightThe marginRight property specifies the distance between the right border of an element and the left border of another element. Dot notation is used to associate this property with the ID called idName.
Listing 7.125 uses the marginRight property to set the distance between adjacent elements. Notice the distance between the border and the right edge of the browser window.
<html> <script> <!-- Hide //Create a style sheet id that defines the right margin document.classes.FORMAT.all.borderWidths(10); document.ids.margin1.marginRight = 40; document.ids.margin2.marginRight ... |
Read now
Unlock full access