The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
cellpadding attribute | cellPadding property
Sets or retrieves the amount of space between the border of the cell and the content of the cell.
![]() |
Syntax
| HTML | <element cellpadding="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: Variant
-
Integer that specifies the amount of space between the border and the content, in pixels.
-
Integer, followed by a %. The value is a percentage of the available amount of space between the border and the content.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 11.3.3
See also
Show:
