Re: @import and background-image

by "Tim Rivera" <lists(at)timrivera.com>

 Date:  Thu, 14 Nov 2002 20:15:30 -0500
 To:  <amcbainezzell(at)alum.mit.edu>,
<hwg-style(at)hwg.org>
 References:  STARRYKNIGHT
  todo: View Thread, Original
> 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