styleSheet Properties DHTML Object Properties
DOM Level 2 Specification.
Retrieves the object that associates the stylesheet with the document.
HTML |
N/A |
Script |
[ oElement = ] styleSheet.owningElement |
oElement |
The element object that defined the stylesheet. |
The property is read-only with no default value.
This attribute is Microsoft's® imlementation of the ownerNode interface specified in the DOM.
For HTML, the attribute returns either the STYLE or LINK object that defined the styleSheet. For XML, it may be the linking processing instruction. For stylesheets that are included by other stylesheets, the value of this attribute is null
.
styleSheet