Re: Problem with contextual link styles

[email protected] (Daniel Glazman) Wed, 23 Oct 2002 06:46:34 +0200
Newsgroups gmane.comp.mozilla.composer.cascades
Message-ID <[email protected]>
On 10/22/2002 11:22 PM, Donald Weightman wrote

> Hi.
> 
> I've just downloaded Cascades; the positional potential looks great; I'm 
> looking forward to many happy hours with it.

Thanks :-)

> HOWEVER, I can't get it to do a contextual class-based set of link styles 
> -- like for nav-bar vs main-text alternative styles.
> 
> I've tried using a preexisting webpage, I've tried just writing the HTML 
> out and then linking to an external css file, I've tried building up the 
> files within cascades. Either the newly-introduced ".links a:FOO" go 
> unrecognized (text-decoration stays underlined instead of "none", for 
> example), the ".links" class gets changed into "#links", or, most 
> insultingly, no matter what I do, the links in question stay standard 
> browser blue instead of the hex #003366 that I want.
> 
> I'm probably missing something basic, but I can't figure out 
> what.  'Operator error' or bug -- I'd appreciate some help.

I think you are trying to create a rule containing a combinator, in your
case the space in ".links a:hover", with the Expert Mode checkbox
unchecked, *OR* in the expert mode using the wrong selector choice.

> Also some guidance on saving internal/external style sheets would be nice 
> -- so far it seems a hit or miss proposition.

Yes, agreed. I started a documentation for the whole project.

</Daniel>
-- 
Daniel Glazman  - Netscape Communications Corp. -  [email protected]
http://cascades.mozdev.org       CaScadeS, just a question of styles...