RE: @import and background-image
by "Ann Ezzell" <amcbainezzell(at)alum.mit.edu>
|
| Date: |
Thu, 14 Nov 2002 18:20:13 -0700 |
| To: |
"'Tim Rivera'" <lists(at)timrivera.com>, <hwg-style(at)hwg.org> |
| In-Reply-To: |
mediaone |
| |
todo: View
Thread,
Original
|
|
I resorted to the validator several hours ago... I found an issue that
fixed something else, but not this.
I just answered the URL question on the list, but here it is again:
The main style sheet is
http://adele.gpelearning.com/_styles/gpe.css
That imports
http://adele.gpelearning.com/_styles/gpe_hide.css
The home page uses different stylesheets, and the @import trick works
fine on there for hiding the background swoosh.
http://adele.gpelearning.com/_styles/gpeHome.css and
http://adele.gpelearning.com/_styles/gpeHome_hide.css
> -----Original Message-----
> From: Tim Rivera [mailto:lists(at)timrivera.com]
> Sent: Thursday, November 14, 2002 6:16 PM
> To: amcbainezzell(at)alum.mit.edu; hwg-style(at)hwg.org
> Subject: Re: @import and background-image
>
>
> > 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?
>
>
> I'd guess you have some sort of syntax error. Try validating
> the CSS, and/or
> let us peruse your style sheets.
>
http://jigsaw.w3.org/css-validator/
Tim
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.