styleSheet Properties DHTML Object Properties
DOM Level 2 Specification.
Retrieves the stylesheet that was used for importing stylesheets.
HTML |
N/A |
Script |
[ sStyleSheet = ] styleSheet.parentStyleSheet |
sStyleSheet |
File name of the stylesheet. |
The property is read-only with no default value.
For stylesheet languages that support the concept of stylesheet inclusion, this attribute represents the including stylesheet, if one exists. If the stylesheet is a top-level stylesheet, or the stylesheet language does not support inclusion, the value of this attribute is null
.
styleSheet