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.
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
padding
-
Integer that specifies the amount of space between the border and the content, in pixels.
percentage
-
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
Send comments about this topic to Microsoft
Build date: 11/28/2012
