| Syntax | <length> | auto | initial | inherit |
| Initial value | auto |
| Applies to | all elements |
| Inheritance | false |
| Type of computed value | UINT |
| Functions |
element::setWidth() element::getWidthStr() element::getWidth() element::testWidth() |
| <length> | A length value. |
| auto | Keyword. |
| initial | Keyword. Sets the property to its initial value. |
| inherit | Keyword. Inherits the value from the parent element. |
| Syntax | <length> | initial | inherit |
| Initial value | 0 |
| Applies to | all elements |
| Inheritance | false |
| Type of computed value | UINT |
| Functions |
element::setMinWidth() element::getMinWidthStr() element::getMinWidth() |
| <length> | A length value. |
| initial | Keyword. Sets the property to its initial value. |
| inherit | Keyword. Inherits the value from the parent element. |
| Syntax | <length> | none | initial | inherit |
| Initial value | none |
| Applies to | all elements |
| Inheritance | false |
| Type of computed value | UINT |
| Functions |
element::setMaxWidth() element::getMaxWidthStr() element::getMaxWidth() |
| <length> | A length value. |
| none | Keyword. |
| initial | Keyword. Sets the property to its initial value. |
| inherit | Keyword. Inherits the value from the parent element. |
| Syntax | <length> | auto | initial | inherit |
| Initial value | auto |
| Applies to | all elements |
| Inheritance | false |
| Type of computed value | UINT |
| Functions |
element::setHeight() element::getHeightStr() element::getHeight() |
| <length> | A length value. |
| auto | Keyword. |
| initial | Keyword. Sets the property to its initial value. |
| inherit | Keyword. Inherits the value from the parent element. |
| Syntax | <length> | initial | inherit |
| Initial value | 0 |
| Applies to | all elements |
| Inheritance | false |
| Type of computed value | UINT |
| Functions |
element::setMinHeight() element::getMinHeightStr() element::getMinHeight() |
| <length> | A length value. |
| initial | Keyword. Sets the property to its initial value. |
| inherit | Keyword. Inherits the value from the parent element. |
| Syntax | <length> | none | initial | inherit |
| Initial value | none |
| Applies to | all elements |
| Inheritance | false |
| Type of computed value | UINT |
| Functions |
element::setMaxHeight() element::getMaxHeightStr() element::getMaxHeight() |
| <length> | A length value. |
| none | Keyword. |
| initial | Keyword. Sets the property to its initial value. |
| inherit | Keyword. Inherits the value from the parent element. |
| Syntax | <length> | initial | inherit |
| Initial value | 0 |
| Applies to | all elements |
| Inheritance | false |
| Type of computed value | INT |
| Functions |
element::setMarginTop() element::getMarginTopStr() element::getMarginTop() |
| <length> | A length value. |
| initial | Keyword. Sets the property to its initial value. |
| inherit | Keyword. Inherits the value from the parent element. |
| Syntax | <length> | initial | inherit |
| Initial value | 0 |
| Applies to | all elements |
| Inheritance | false |
| Type of computed value | INT |
| Functions |
element::setMarginBottom() element::getMarginBottomStr() element::getMarginBottom() |
| <length> | A length value. |
| initial | Keyword. Sets the property to its initial value. |
| inherit | Keyword. Inherits the value from the parent element. |
| Syntax | <length> | initial | inherit |
| Initial value | 0 |
| Applies to | all elements |
| Inheritance | false |
| Type of computed value | INT |
| Functions |
element::setMarginRight() element::getMarginRightStr() element::getMarginRight() |
| <length> | A length value. |
| initial | Keyword. Sets the property to its initial value. |
| inherit | Keyword. Inherits the value from the parent element. |
| Syntax | <length> | initial | inherit |
| Initial value | 0 |
| Applies to | all elements |
| Inheritance | false |
| Type of computed value | INT |
| Functions |
element::setMarginLeft() element::getMarginLeftStr() element::getMarginLeft() |
| <length> | A length value. |
| initial | Keyword. Sets the property to its initial value. |
| inherit | Keyword. Inherits the value from the parent element. |
| Syntax | <length> | initial | inherit |
| Initial value | 0 |
| Applies to | all elements |
| Inheritance | false |
| Type of computed value | INT |
| Functions |
element::setMargin() element::getMarginStr() element::getMargin() |
| Shorthand |
This is a shorthand for the following properties: margin-top, margin-right, margin-bottom, margin-left Possible number of items: 4, 3, 2, 1 |
| <length> | A length value. |
| initial | Keyword. Sets the property to its initial value. |
| inherit | Keyword. Inherits the value from the parent element. |
| Syntax | <length> | initial | inherit |
| Initial value | 0 |
| Applies to | all elements |
| Inheritance | false |
| Type of computed value | UINT |
| Functions |
element::setPaddingTop() element::getPaddingTopStr() element::getPaddingTop() |
| <length> | A length value. |
| initial | Keyword. Sets the property to its initial value. |
| inherit | Keyword. Inherits the value from the parent element. |
| Syntax | <length> | initial | inherit |
| Initial value | 0 |
| Applies to | all elements |
| Inheritance | false |
| Type of computed value | UINT |
| Functions |
element::setPaddingBottom() element::getPaddingBottomStr() element::getPaddingBottom() |
| <length> | A length value. |
| initial | Keyword. Sets the property to its initial value. |
| inherit | Keyword. Inherits the value from the parent element. |
| Syntax | <length> | initial | inherit |
| Initial value | 0 |
| Applies to | all elements |
| Inheritance | false |
| Type of computed value | UINT |
| Functions |
element::setPaddingRight() element::getPaddingRightStr() element::getPaddingRight() |
| <length> | A length value. |
| initial | Keyword. Sets the property to its initial value. |
| inherit | Keyword. Inherits the value from the parent element. |
| Syntax | <length> | initial | inherit |
| Initial value | 0 |
| Applies to | all elements |
| Inheritance | false |
| Type of computed value | UINT |
| Functions |
element::setPaddingLeft() element::getPaddingLeftStr() element::getPaddingLeft() |
| <length> | A length value. |
| initial | Keyword. Sets the property to its initial value. |
| inherit | Keyword. Inherits the value from the parent element. |
| Syntax | <length> | initial | inherit |
| Initial value | 0 |
| Applies to | all elements |
| Inheritance | false |
| Type of computed value | UINT |
| Functions |
element::setPadding() element::getPaddingStr() element::getPadding() |
| Shorthand |
This is a shorthand for the following properties: padding-top, padding-right, padding-bottom, padding-left Possible number of items: 4, 3, 2, 1 |
| <length> | A length value. |
| initial | Keyword. Sets the property to its initial value. |
| inherit | Keyword. Inherits the value from the parent element. |