CSS @import URI question

  • Thread starter Thread starter Dan E
  • Start date Start date
D

Dan E

I'm developing a new site in a sub-web on my development host. I'm using
DWTs with an @import style sheet in the header. Some pages that attach the
DWT are in the root of the sub-web (which is actually 2 levels below the
root of the domain), others are in sub-folders, another level down. I've
run into trouble with the @import URL. If I simply use (in the DWT header)

<style type="text/css">
<!--
@import url(st11.css);
-->
</style>

the pages at the same level as the CSS and DWT are OK, but pages in a
sub-folder can't get the styles. Short of using an absolute URI in @import,
is there a way to reference the CSS in the DWT header so that pages attached
to the DWT can see the stylesheet?

Any help/suggestions gratefully received and acknowledged!

TIA,

Dan
 
Re: CSS @import URI questionOK - thanks, Jens.

Dan
No.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 
Back
Top