22 Oct 23:20
Problem with contextual link styles
From: Donald Weightman <dweightman <at> radix.net>
Subject: Problem with contextual link styles
Newsgroups: gmane.comp.mozilla.composer.cascades
Date: 2002-10-22 21:22:23 GMT
Subject: Problem with contextual link styles
Newsgroups: gmane.comp.mozilla.composer.cascades
Date: 2002-10-22 21:22:23 GMT
Hi. I've just downloaded Cascades; the positional potential looks great; I'm looking forward to many happy hours with it. 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. Also some guidance on saving internal/external style sheets would be nice -- so far it seems a hit or miss proposition. Thanks. Don Weightman ........................... Donald Weightman 202.544.1458 dweightman <at> radix.net(Continue reading)
> 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.
RSS Feed