DocumentCSS : Object

Represents a Document that has a CSSView.

Browser/User Agent Support

IEMozillaNetscapeOperaSafariNetscapte
no1.0+nononono

Constructors

ConstructorIEMozillaNetscapeOperaSafariNetscapte
Represents a Document that has a CSSView.
no1.0+nononono
 

Methods

MethodIEMozillaNetscapeOperaSafariNetscapte
Changes the style of an element without modifying the stylesheets linked to the document.
no1.0+nononono
 

Availability

HTML DOM Level 2 | W3C

Constructor Detail

DocumentCSS DocumentCSS()

Represents a Document that has a CSSView.

Visibility
internal

Method Detail

getOverrideStyle(Element elt, [DOMString pseudoElt]) : CSSStyleDeclaration

Changes the style of an element without modifying the stylesheets linked to the document.

ElementeltElement to modify the style for.
DOMStringpseudoEltOptional pseudo-element to modify the style for. (optional)

Availability

HTML DOM Level 2 | W3C