DOM:stylesheet.parentStyleSheet
From MDC
Contents |
[edit] Summary
Returns the stylesheet that is including this one, if any.
[edit] Syntax
objRef = stylesheet.parentStyleSheet
[edit] Example
// find the top level stylesheet
if (stylesheet.parentStyleSheet) {
sheet = stylesheet.parentStyleSheet;
}
else
{ sheet = stylesheet; }
[edit] Notes
This property returns NULL is the current stylesheet is a top-level stylesheet or if stylesheeet inclusion is not supported.