CSS @import URI question

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
 
D

Dan E

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

Dan
No.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top