paddingTop property
[This documentation is preliminary and is subject to change.]
Sets or retrieves the amount of space to insert between the top border of the object and the content.
Syntax
Integer value = object.put_paddingTop(Variant v);Integer value = object.get_paddingTop(Variant* sPadding);
Property values
Type: VARIANT
percentage (percentage)
Integer, followed by a percent sign (%). The value is a percentage of the width of the parent object.
String format
<length> | <percentage>
CSS information
Applies To | All elements |
Media | visual |
Inherited | no |
Initial Value | 0 |
Standards information
- CSS 2.1, Section 5.5.6
Remarks
As of Microsoft Internet Explorer 5.5, this property applies to inline elements. With earlier versions of Windows Internet Explorer, inline elements must have an absolute position or layout to use this property. Element layout is set by providing a value for the height property or the width property.
Negative values are not allowed.
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows 2000 Server |
Header |
|
DLL |
Mshtml.dll |
Build date: 1/23/2012