Connecting Tech Pros Worldwide Help | Site Map

How many levels of nested @import are allowed?

Hostile17
Guest
 
Posts: n/a
#1: Jul 20 '05
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?
Mark Tranchant
Guest
 
Posts: n/a
#2: Jul 20 '05

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.
Closed Thread