padding-toppadding-top*
*Contents  *Index  *Topic Contents
*Previous Topic: padding-right
*Next Topic: page-break-after

padding-top

Description

Sets the top padding of an element. Padding values cannot be negative.

Supported on block and replaced elements only.

Syntax

{ padding-top: length | percentage}

Remarks

This attribute is not inherited.

Applies To

TABLE, TD, TR, CAPTION, TEXTAREA, IFRAME, BODY, MARQUEE, DIV

Scripting Property

paddingTop

See Also

padding-bottom, padding-left, padding-right, padding


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.