cellpadding attribute | cellPadding property

Sets or retrieves the amount of space between the border of the cell and the content of the cell.

HTML 4.01 Specification, Section 11.3.3

 

Syntax

HTML<element cellpadding="p" ... >
JavaScript

p = object.cellPadding

 

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

See also

table
cellSpacing

 

 

Show:
© 2014 Microsoft