please dont rip this site
The Imports Collection

The Imports collection is Internet Explorer 4.0 specific.

The Imports collection is a collection of all the imported style sheets, defined for the StyleSheet Object. (An imported style sheet is one that has been included in the document using the @import Style Sheet attribute in a <STYLE>. Note that the imports collection can only be accessed through the StyleSheet Object.

<STYLE TYPE="text/css" ID="CSS1">
@import: url ( Sheets/newstyle.css)
@import: url ( Sheets/bigred.css)
@import: url ( Sheets/bigblue.css)
@import: url ( Sheets/crazy.css)
H1 {font-size : 24pt; color : red}



would return Sheets/bigblue.css - the location of the third imported stylesheet for the document. (Note the use of the StyleSheets collection to interrogate the imports collection.


The length property returns the number of elements in the collection. Note that the length count starts at 1, not 0 as the imports collection index does.


The item method retrieves single items, or sub-collections from the all collection. It accepts the following arguments:


For the imports collection, the index argument can only be a number, representing the index of the imported stylesheet of interest.

file: /Techref/language/html/ib/Scripting_Reference/impcol.htm, 2KB, , updated: 2004/3/1 16:47, local time: 2024/6/24 08:50,

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> The Imports collection</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?


Welcome to!


Welcome to!