Click to return to the DHTML, HTML     
cellIndex Property     CELLSPACING Attribute | c...     DHTML Properties    
Web Workshop  |  DHTML, HTML & CSS

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<TABLE CELLPADDING = sPadding ... >
Scriptingtable.cellPadding [ = sPadding ]

Possible Values

sPadding String that specifies one of the following values:
paddingInteger that specifies the amount of space between the border and the content, in pixels.
percentageInteger, followed by a %. The value is a percentage of the available amount of space between the border and the content.

The property is read/write with no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see Dynamic Properties.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:

TABLE

See Also

cellSpacing



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.