RE: RE: @import and background-image

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

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

http://adele.gpelearning.com/solutions/ (any internal page on the site -
the home page uses different style sheets)

The main style sheet is 

http://adele.gpelearning.com/_styles/gpe.css

That imports

http://adele.gpelearning.com/_styles/gpe_hide.css

I'm in the process of working on the site, so the style sheets are
changing around quite a bit.

But now that I think about it, perhaps you *should* also look at the
home page, because I use that same trick on the home page to hide the
grey background swoosh from NN4, and it works just fine. The stylesheets
are

http://adele.gpelearning.com/_styles/gpeHome.css and
http://adele.gpelearning.com/_styles/gpeHome_hide.css

There's an div with ID=homePage, and that's what contains the graphic.
But the ID definition is *only* in the imported stylesheet - not in the
main one. Perhaps that makes a difference?


> -----Original Message-----
> From: Carole Anne Gay [mailto:carole(at)designs.com] 
> Sent: Thursday, November 14, 2002 5:57 PM
> To: hwg-style(at)hwg.org; amcbainezzell(at)alum.mit.edu
> Subject: Re: RE: @import and background-image
> 
> 
> Do you have an URL we can reference?  That, too, would be helpful. ;-)
> 
> Carole
> 
> 11/14/2002 4:39:20 PM, "Ann Ezzell" 
> <amcbainezzell(at)alum.mit.edu> wrote:
> 
> >
> >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?
> >
> >
> Carole Gay
> 
> Certified Web Globalist
> http://www.webofculture.com
> HTML Writers Guild Online Education Instructor, HTML II and 
> Design Concepts 
> /
> Director, HTML Writers Guild Gutenberg Project
> http://gutenberg.hwg.org/
> Member International Association of Webmasters/HTML Writers Guild
> https://www.iwanet.org
> 
> 
> 

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.