StyleSheet.parentStyleSheet (Property)

The parent stylesheet that styles are cascaded from.


DOM level - 2
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:StyleSheet object
JavaScript syntax:-myStyleSheet.parentStyleSheet

Where style sheets are imported and if the object reference is a StyleSheet object that was the result of an import, then that StyleSheet object will have a parent. The value returned by this property is another StyleSheet object.

See also:Hierarchy of objects

Property attributes: