Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IE Mac loading forever with external css

Status
Not open for further replies.

lijil

Programmer
Jun 9, 2004
16
CA
I have external style sheets set up in the following hierarchy:

portal.asp
|---(link) portal/CSS/portal.css
|---(import) /core/CSS/core.css
| |---(import) /CSS/base.css
| | |---(import screen) base_screen.css
| | |---(import print) base_print.css
| |---(import screen) core_screen.css
| |---(import print) core_print.css
|---(import screen) portal_screen.css
|---(import print) portal_print.css

The diagram makes it look overly complex, basically the hierarchy is 3 levels deep (page -> section -> base) with each level importing its own print and screen style sheets. This works fine in Mozilla, IEWin6 and Safari but IE Mac keeps loading forever. The status bar displays 'Receiving HTML document (0 bytes of x, 0 byts/sec).

Has anyone run into this issue before?
 
Identified the cause, if you @import a stylesheet which is empty (no text), IE Mac will load forever. Putting /* */ in the file or not importing it if it is empty solves the problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top