Re: Changing "link" properties using style sheets...
by Kynn Bartlett <kynn(at)idyllmtn.com>
|
Date: |
Thu, 17 Jan 2002 14:40:13 -0800 |
To: |
"Tim Rivera" <timrivera(at)hotmail.com>, <hwg-style(at)mail.hwg.org> |
Cc: |
<galdor7(at)hotmail.com> |
References: |
hotmail |
|
todo: View
Thread,
Original
|
|
At 4:01 PM -0500 1/17/02, Tim Rivera wrote:
> >I was under the impression that the "link" property could be changed with a
>>"class" specification but I can't seem to get it working.
>
>
>Remember that you are dealing with -cascading- style sheets, which means
>each rule overrides preceding rules. Because you have A:link -after-
>.council, the definitions for A:link override the .council. If you switch
>the two rules, the links should be styled the way you desire them to be.
Kinda. It also depends on specificity of each rule. And, of course,
on whether or not the browsers properly interpret the cascade!
--Kynn
--
Kynn Bartlett <kynn(at)idyllmtn.com> http://kynn.com
Chief Technologist, Idyll Mountain http://idyllmtn.com
Web Accessibility Expert-for-hire http://kynn.com/resume
January Web Accessibility eCourse http://kynn.com/+d201
Forthcoming: Teach Yourself CSS in 24 Hours
HWG hwg-style mailing list archives,
maintained by Webmasters @ IWA