Connecting Tech Pros Worldwide Help | Site Map

How many levels of nested @import are allowed?

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 20th, 2005, 10:50 PM
Hostile17
Guest
 
Posts: n/a
Default How many levels of nested @import are allowed?

The question's all in the title really, but here's the context.

I was writing a Perl script to fetch the CSS from pages and calculate
the size of the images referenced in it.

Then I remembered that you can nest another @import statement inside
an imported or linked style sheet.

How many times can you do this? A third one inside the second one? A
fourth inside the third?

  #2  
Old July 20th, 2005, 10:50 PM
Mark Tranchant
Guest
 
Posts: n/a
Default Re: How many levels of nested @import are allowed?

Hostile17 wrote:
[color=blue]
> Then I remembered that you can nest another @import statement inside
> an imported or linked style sheet.
>
> How many times can you do this? A third one inside the second one? A
> fourth inside the third?[/color]

Until the browser with the weakest support breaks.

--
Mark.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.