| Style attribute | Style property | Description |
|---|
| ACCELERATOR | accelerator |
Sets or retrieves a string that indicates whether the object contains an accelerator key. |
| background | background |
Sets or retrieves up to five separate background properties of the object. |
| background-attachment | backgroundAttachment |
Sets or retrieves how the background image is attached to the object within the document. |
| background-color | backgroundColor |
Sets or retrieves the color behind the content of the object. |
| background-image | backgroundImage |
Sets or retrieves the background image of the object. |
| background-position | backgroundPosition |
Sets or retrieves the position of the background of the object. |
| background-position-x | backgroundPositionX |
Sets or retrieves the x-coordinate of the backgroundPosition property. |
| background-position-y | backgroundPositionY |
Sets or retrieves the y-coordinate of the backgroundPosition property. |
| background-repeat | backgroundRepeat |
Sets or retrieves how the backgroundImage property of the object is tiled. |
| behavior | behavior |
Sets or retrieves the location of the Dynamic HTML (DHTML) behavior. |
| 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-collapse | borderCollapse |
Sets or retrieves a value that indicates whether the row and cell borders of a table are joined in a single border or detached as in standard HTML. |
| 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-spacing | borderSpacing |
Sets or retrieves
the distance between the borders of adjoining cells in a table.
|
| 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. |
| bottom | bottom |
Sets or retrieves the bottom position of the object in relation to the bottom of the next positioned object in the document hierarchy. |
caption-side | captionSide |
Sets or retrieves
where the caption
of a table is located.
|
| clear | clear |
Sets or retrieves whether the object allows floating objects on its left side, right side, or both, so that the next text displays past the floating objects. |
| clip | clip |
Sets or retrieves which part of a positioned object is visible. |
| color | color |
Sets or retrieves the color of the text of the object. |
content | content |
Sets or retrieves
generated content to insert before or after an element.
|
counter-increment | counterIncrement |
Sets or retrieves
a list of counters to increment.
|
counter-reset | counterReset |
Sets or retrieves
a list of counters to create or reset to zero.
|
| cssText |
Sets or retrieves the persisted representation of the style rule. |
| cursor | cursor |
Sets or retrieves the type of cursor to display as the mouse pointer moves over the object. |
| direction | direction |
Sets or retrieves the reading order of the object. |
emptyCells | emptyCells | Determines whether to show or hide a cell without content. |
| font | font |
Sets or retrieves a combination of separate font properties of the object. Alternatively, sets or retrieves one or more of six user-preference fonts. |
| font-family | fontFamily |
Sets or retrieves the name of the font used for text in the object. |
| font-size | fontSize |
Sets or retrieves a value that indicates the font size used for text in the object. |
| font-style | fontStyle |
Sets or retrieves the font style of the object as italic, normal, or oblique. |
| font-variant | fontVariant |
Sets or retrieves whether the text of the object is in small capital letters. |
| font-weight | fontWeight |
Sets or retrieves the weight of the font of the object. |
| height | height |
Sets or retrieves the height of the object. |
| ime-mode | imeMode |
Sets or retrieves the state of an Input Method Editor (IME). |
| layout-flow | layoutFlow |
Sets or retrieves the direction and flow of the content in the object. |
| layout-grid | layoutGrid |
Sets or retrieves the composite document grid properties that specify the layout of text characters. |
| layout-grid-char | layoutGridChar |
Sets or retrieves the size of the character grid used for rendering the text content of an element. |
| layout-grid-line | layoutGridLine |
Sets or retrieves the gridline value used for rendering the text content of an element. |
| layout-grid-mode | layoutGridMode |
Sets or retrieves whether the text layout grid uses two dimensions. |
| layout-grid-type | layoutGridType |
Sets or retrieves the type of grid used for rendering the text content of an element. |
| left | left |
Sets or retrieves the position of the object relative to the left edge of the next positioned object in the document hierarchy. |
| letter-spacing | letterSpacing |
Sets or retrieves the amount of additional space between letters in the object. |
| line-break | lineBreak |
Sets or retrieves
line-breaking rules for text in selected languages
such as Japanese, Chinese and Korean.
|
| line-height | lineHeight |
Sets or retrieves the distance between lines in the object. |
| list-style | listStyle |
Sets or retrieves up to three separate listStyle properties of the object. |
| list-style-image | listStyleImage |
Sets or retrieves a value that indicates which image to use as a list-item marker for the object. |
| list-style-position | listStylePosition |
Sets or retrieves a variable that indicates how the list-item marker is drawn relative to the content of the object. |
| list-style-type | listStyleType |
Sets or retrieves the predefined type of the line-item marker for the object. |
| 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. |
| -ms-interpolation-mode | msInterpolationMode |
Sets or retrieves the interpolation (resampling) method used to stretch images. |
orphans | orphans |
Sets or retrieves
the minimum number of lines of a paragraph that must appear
at the bottom of a page.
|
outline | outline |
Sets or retrieves
the color, style, and width of the outline frame.
|
outline-color | outlineColor |
Sets or retrieves
the color of the outline frame.
|
outline-style | outlineStyle |
Sets or retrieves
the style of the outline frame.
|
outline-width | outlineWidth |
Sets or retrieves
the width of the outline frame.
|
| 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 | |