TOC PREV NEXT INDEX

domref



cssText


cssText returns the actual text of the style rule.

Syntax

text = cssRule.cssText
 

Parameters

text is a string containing the style rule text.

Example

if ( myRule.cssText.indexOf("background-color") != -1 ) {
 
   bgRule = myRule;
 
}
 
...
 

Notes

None.

Specification

DOM Level 2 Style - cssRule


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX