786 Part III . Document Objects Reference added
786 Part III . Document Objects Reference added to the document.styleSheets collection, so that references to an imported styleSheet object must be through the document.styleSheets[i].imports[i] array. An import object is, itself, a styleSheet object. All properties and methods appli cable to a styleSheet object also apply to an importobject. Therefore, if you want to load a different external style sheet into the page, you can assign the new URL to the imported styleSheet object s hrefproperty: document.styleSheets[0].imports[0].href = alternate.css Modifications of this nature work in IE for Windows, but not in IE/Mac as of Version 5. Related Items: styleSheet object. media Value: See Text Read/Write NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility . . CSS style sheets can be defined to apply to specific output media, such as the video display screen, printer, and, in the future, devices such as speech synthesiz ers or Braille generators. A style sheet gets this direction from the MEDIA attribute of a STYLE or LINK element. That value is represented in the mediaproperty of the styleSheet object. In IE4+, the media property value is a string with one of three possible values: screen, printer, all. The W3C DOM and NN6 take this one step further by allow ing for potentially multiple values being assigned to the MEDIA attribute. The NN6 value is an array of string media names. Related Items: None. ownerNode Value: Node Reference Read-Only NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility . The ownerNode property is a reference to the document node in which the styleSheet object is defined. For styleSheet objects defined inside STYLE and LINK elements, the ownerNodeproperty is a reference to that element. The corresponding property in IE4+ is owningElement. Oddly, IE5/Mac has an additional, misnamed property called owningNode, whose value equals that of the owningElement property. styleSheetObject.ownerNode
We would like to recommend you tested and proved virtual web hosting services, which you will surely find to be of great quality.