PC Review


Reply
Thread Tools Rate Thread

CSS @import URI question

 
 
Dan E
Guest
Posts: n/a
 
      12th Feb 2005
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

--
Dan E
webbie(removethis)@preferredcountry.com


 
Reply With Quote
 
 
 
 
Jens Peter Karlsen[FP MVP]
Guest
Posts: n/a
 
      13th Feb 2005
No.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

> -----Original Message-----
> From: Dan E [mailto:webbie(removethis)@preferredcountry.com]
> Posted At: 12. februar 2005 22:04
> Posted To: microsoft.public.frontpage.client
> Conversation: CSS @import URI question
> Subject: CSS @import URI question
>
>
> 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
>
> --
> Dan E
> webbie(removethis)@preferredcountry.com
>
>


 
Reply With Quote
 
Dan E
Guest
Posts: n/a
 
      13th Feb 2005
Re: CSS @import URI questionOK - thanks, Jens.

Dan
"Jens Peter Karlsen[FP MVP]" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
No.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

> -----Original Message-----
> From: Dan E [mailto:webbie(removethis)@preferredcountry.com]
> Posted At: 12. februar 2005 22:04
> Posted To: microsoft.public.frontpage.client
> Conversation: CSS @import URI question
> Subject: CSS @import URI question
>
>
> 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
>
> --
> Dan E
> webbie(removethis)@preferredcountry.com
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
import question Carol Whitney Windows Vista General Discussion 2 6th Nov 2007 01:04 PM
Import Question =?Utf-8?B?SEVMUA==?= Microsoft Access VBA Modules 2 20th Oct 2006 08:16 PM
Really and Import Question JohnB Microsoft Access Forms 1 29th Apr 2005 03:27 PM
Re: import question Gord Dibben Microsoft Excel Misc 0 12th Apr 2005 10:43 PM
Import .csv question =?Utf-8?B?TmF0aGFu?= Microsoft Access External Data 6 26th Mar 2005 10:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:06 AM.