Re: Changing "link" properties using style sheets...

by Kynn Bartlett <kynn(at)idyllmtn.com>

 Date:  Thu, 17 Jan 2002 14:38:33 -0800
 To:  "Lisa Bradshaw" <zibbler(at)mediaone.net>,
"Michael Boyer" <galdor7(at)hotmail.com>,
<hwg-style(at)hwg.org>
 References:  hotmail mediaone
  todo: View Thread, Original
At 1:14 PM -0500 1/17/02, Lisa Bradshaw wrote:
>Set up a seperate class for each anchor you want to affect. For example you
>could do something like this:
>
>a:link.council { text-decoration: none;
>  background-color: none;
>color: #FFFF80
>  font-size: 12pt;
>  font-family: arial;
>  font-weight: bold;
>       }

The above is not incorrect.

Sometimes you may need to account for older broken browsers with something
like this:

   <span class="council">
     <a href="foo.html">Foo</a>
   </span>

--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