Style attribute | Style property | Description |
---|
ACCELERATOR | accelerator |
Sets or retrieves a string that indicates whether the object contains an accelerator key. |
border | border |
Sets or retrieves the properties to draw around the object. |
border-bottom | borderBottom |
Sets or retrieves the properties of the bottom border of the object. |
border-bottom-color | borderBottomColor |
Sets or retrieves the color of the bottom border of the object. |
border-bottom-style | borderBottomStyle |
Sets or retrieves the style of the bottom border of the object. |
border-bottom-width | borderBottomWidth |
Sets or retrieves the width of the bottom border of the object. |
border-color | borderColor |
Sets or retrieves the border color of the object. |
border-left | borderLeft |
Sets or retrieves the properties of the left border of the object. |
border-left-color | borderLeftColor |
Sets or retrieves the color of the left border of the object. |
border-left-style | borderLeftStyle |
Sets or retrieves the style of the left border of the object. |
border-left-width | borderLeftWidth |
Sets or retrieves the width of the left border of the object. |
border-right | borderRight |
Sets or retrieves the properties of the right border of the object. |
border-right-color | borderRightColor |
Sets or retrieves the color of the right border of the object. |
border-right-style | borderRightStyle |
Sets or retrieves the style of the right border of the object. |
border-right-width | borderRightWidth |
Sets or retrieves the width of the right border of the object. |
border-style | borderStyle |
Sets or retrieves the style of the left, right, top, and bottom borders of the object. |
border-top | borderTop |
Sets or retrieves the properties of the top border of the object. |
border-top-color | borderTopColor |
Sets or retrieves the color of the top border of the object. |
border-top-style | borderTopStyle |
Sets or retrieves the style of the top border of the object. |
border-top-width | borderTopWidth |
Sets or retrieves the width of the top border of the object. |
border-width | borderWidth |
Sets or retrieves the width of the left, right, top, and bottom borders of the object. |
clip | clip |
Sets or retrieves which part of a positioned object is visible. |
direction | direction |
Sets or retrieves the reading order of the object. |
display | display |
Sets or retrieves whether the object is rendered. |
filter | filter |
Sets or retrieves the filter or collection of filters applied to the object. |
| hasLayout |
Gets a value that indicates whether the object has layout. |
height | height |
Sets or retrieves the height of the object. |
layout-grid | layoutGrid |
Sets or retrieves the composite document grid properties that specify the layout of text characters. |
layout-grid-mode | layoutGridMode |
Sets or retrieves whether the text layout grid uses two dimensions. |
margin | margin |
Sets or retrieves the width of the top, right, bottom, and left margins of the object. |
margin-bottom | marginBottom |
Sets or retrieves the height of the bottom margin of the object. |
margin-left | marginLeft |
Sets or retrieves the width of the left margin of the object. |
margin-right | marginRight |
Sets or retrieves the width of the right margin of the object. |
margin-top | marginTop |
Sets or retrieves the height of the top margin of the object. |
max-height | maxHeight |
Sets or retrieves the maximum height for an element. |
max-width | maxWidth |
Sets or retrieves the maximum width for an element. |
min-height | minHeight |
Sets or retrieves the minimum height for an element. |
min-width | minWidth |
Sets or retrieves the minimum width for an element. |
overflow | overflow |
Sets or retrieves a value indicating how to manage the content of the object when the content exceeds the height or width of the object. |
overflow-x | overflowX |
Sets or retrieves how to manage the content of the object when the content exceeds the width of the object. |
overflow-y | overflowY |
Sets or retrieves how to manage the content of the object when the content exceeds the height of the object. |
padding | padding |
Sets or retrieves the amount of space to insert between the object and its margin or, if there is a border, between the object and its border. |
padding-bottom | paddingBottom |
Sets or retrieves the amount of space to insert between the bottom border of the object and the content. |
padding-left | paddingLeft |
Sets or retrieves the amount of space to insert between the left border of the object and the content. |
padding-right | paddingRight |
Sets or retrieves the amount of space to insert between the right border of the object and the content. |
padding-top | paddingTop |
Sets or retrieves the amount of space to insert between the top border of the object and the content. |
position | position |
Sets or retrieves the type of positioning used for the object. |
scrollbar-3dlight-color | scrollbar3dLightColor |
Sets or retrieves the color of the top and left edges of the scroll box and scroll arrows of a scroll bar. |
scrollbar-arrow-color | scrollbarArrowColor |
Sets or retrieves the color of the arrow elements of a scroll arrow. |
scrollbar-base-color | scrollbarBaseColor |
Sets or retrieves the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows. |
scrollbar-darkshadow-color | scrollbarDarkShadowColor |
Sets or retrieves the color of the gutter of a scroll bar. |
scrollbar-face-color | scrollbarFaceColor |
Sets or retrieves the color of the scroll box and scroll arrows of a scroll bar. |
scrollbar-highlight-color | scrollbarHighlightColor |
Sets or retrieves the color of the top and left edges of the scroll box and scroll arrows of a scroll bar. |
scrollbar-shadow-color | scrollbarShadowColor |
Sets or retrieves the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar. |
scrollbar-track-color | scrollbarTrackColor |
Sets or retrieves the color of the track element of a scroll bar. |
text-autospace | textAutospace |
Sets or retrieves the autospacing and narrow space width adjustment of text. |
text-overflow | textOverflow |
Sets or retrieves a value that indicates whether to render ellipses(...) to indicate text overflow. |
text-underline-position | textUnderlinePosition |
Sets or retrieves the position of the underline decoration that is set through the textDecoration property of the object. |
unicode-bidi | unicodeBidi |
Sets or retrieves the level of embedding with respect to the bidirectional algorithm. |
white-space | whiteSpace |
Sets or retrieves a value that indicates whether lines are automatically broken inside the object. |
width | width |
Sets or retrieves the width of the object. |
word-wrap | wordWrap |
Sets or retrieves whether to break words when the content exceeds the boundaries of its container. |
zoom | zoom |
Sets or retrieves the magnification scale of the object. |