This method provides a way to import an external style sheet so its rules become part of the current style sheet.
This is another example of how to build a document hierarchy in a web browser.
If you omit the index location for the style sheet that is being imported, it will be appended to the end of the current collection of style sheets belonging to the document.
See also: | Hierarchy of objects |
Prev | Home | Next |
StyleSheet object | Up | StyleSheet.addRule() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |