Re: 2 style sheets overriding each other

by "Hilma" <Hilma(at)hilma.freeserve.co.uk>

 Date:  Mon, 27 May 2002 07:53:43 +0100
 To:  <hwg-basics(at)hwg.org>,
"Andrew McFarland" <aamcf(at)aamcf.co.uk>
 References:  ntlworld
  todo: View Thread, Original
Thank you for that -

I since found out that my problem was that the 'override' in the second
sheet  only affects the *attributes* repeated in that 2nd sheet; so when i
had two sheets with the same class, and the second class omitted some
attributes, then the original class attributes were used.
(rather than "no longer defined" as i had expected).
So i was approaching the whole problem back-to-front - i need a "basic
class" (for NS4) followed by a "posh class" (other stuff) with additional
attributes (rather than "taking away" the clever stuff for NS4)

umm -The @import technique i've not got onto yet - that message must be in
my "read this when you know more" folder, as it went beyond my limits for
now!

thanks-

hilma
--x---


 sued
----- Original Message -----
From: "Andrew McFarland" <aamcf(at)aamcf.co.uk>
To: <hwg-basics(at)hwg.org>
Sent: Sunday, May 26, 2002 6:22 PM
Subject: Re: 2 style sheets overriding each other


> At 07:25 26/05/02 +0100, Hilma wrote:
> <snip/>
> >My *plan* was to have a standard css, overridden by the NS one for the
> >classes that need special treatement in NS4:
> <snip/>
>
> Ah, the cascade of cascading style sheets.
>
> Netscape 4 can't cope with anything too complex (and I think this is
> probably too complex). Could you use the @import technique I mentioned
earlier?
>
> Andrew
>
> --
> http://aamcf.co.uk/
>
>

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA