July 1998
Intermediate to advanced
1456 pages
65h 5m
English
paddingRight, paddingTop — NN n/a IE 4 DOM n/a
Read/Write
All four properties set the width of a single padding edge of an element. Padding is space that extends between the element’s border and content box. Padding is not calculated as part of the element’s width or height.
document.all.logoWrapper.style.paddingTop = "3px" document.all.navPanel.style.paddingLeft = "10%"
Values for padding widths can be length values, percentages of the
next outermost element size, or the auto constant.
0
Read now
Unlock full access