RE: @import and background-image

by "Ann Ezzell" <amcbainezzell(at)alum.mit.edu>

 Date:  Thu, 14 Nov 2002 17:39:20 -0700
 To:  <carole(at)designs.com>,
<hwg-style(at)hwg.org>
 In-Reply-To:  sammamish
  todo: View Thread, Original

Yes, I have both my external style sheet and the imported style sheet in
the _styles folder off the root directory. The directory path is
accurate - the image shows up when the rule is in the main external
style sheet, but not when it's in the imported style sheet (although
other rules in the imported style sheet are being applied).

> 
> It's possible that you have your external style sheet in a 
> different directory than you have the html documents.  
> In this case, you need to be sure the directory path is 
> accurate from there.
> 
> Hope this helps,
> 
> Carole
> 
> 11/14/2002 3:48:03 PM, "Ann Ezzell" 
> <amcbainezzell(at)alum.mit.edu> wrote:
> 
> >
> >I'm using @import (in my external stylesheet) to bring in a secondary
> >stylesheet that contains styles for newer browsers that have 
> a tendency
> >to mess up NN4 (alas, some of our clients are still running NN4...)
> >
> >This doesn't work when it's in the imported stylesheet, even 
> though it
> >works in the main stylesheet:
> >
> >background-image: url(/_images/menu_bottom.gif);
> >
> >Any idea why?

HWG hwg-style mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.