www.fgks.org   »   [go: up one dir, main page]

CSS Methods

This section contains a list of methods available for Cascading Style Sheets (CSS).

Methods

addImport

Adds a style sheet to the imports collection for the specified style sheet.

addRule

Creates a new rule for a style sheet.

createStyleSheet

Creates a style sheet for the document.

getExpression

Retrieves the expression for the given property.

removeExpression

Removes the expression from the specified property.

removeImport

Removes the imported style sheet from the imports collection based on ordinal position.

removeRule

Deletes an existing style rule for the styleSheet object, and adjusts the index of the rules collection accordingly.

setExpression

Sets an expression for the specified object.


addImport
addRule
createStyleSheet
getExpression
removeExpression
removeImport
removeRule
setExpression

MSDN Library
Web Development
HTML and CSS
Cascading Style Sheets (CSS)
CSS Reference
Methods