Re: CSS Question

by Linda Mercer/Wishstar <catnip(at)ais.net>

 Date:  Fri, 29 Mar 2002 02:45:30 -0600
 To:  "Brandon Coughlin" <bcoughlin(at)urx.com>,
<hwg-techniques(at)hwg.org>
 In-Reply-To:  computer
  todo: View Thread, Original
Ioll take a stab at this question, and hopefully some of the others will=20
tell me if I'm doing it right<G> Assign a class to that link and use CSS to=
=20
call that class and to make that  link whatever colors you want in active,=
=20
hover, visited and hover modes.  Here's an example (of course you can=20
modify the fonts and colors):

LINK: <a href=3D"nameoflink.htm" class=3D"nameofclass">

CSS example:

a.nameofclass:link {
color: #ffff00;
font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;
}

a.nameofclass:visited {
color: #ffff00;
font-size: 8pt;
font-family: Arial, Helvetica, sans-serif;
}

a.nameofclass:hover {
color: #49fc45;
font-size: 8pt;
font-family: Arial, Helvetica, sans-serif;
}

a.terms:active {
color: #ffff00;
font-size: 8pt;
font-family: Arial, Helvetica, sans-serif;
}

Linda

At 01:29 AM 3/29/02, you wrote:
>Yet another question:
>
>I am defining a hover color for the links in a website using CSS.  I also
>want to specify a color for an individual set of links on the page.
>Example:  In my navigation bar I have links on a blue background.  Blue
>links aren't going to show up, so I want them white.  When I specify
>style=3D"color:#FFFFFF"  in the link, it overrides my hover specification.
>Any ideas on how to overcome this?  I have been stuck on this for the past
>couple of days, and I am just getting farther behind - I need help!  :)
>
>Thanks,
>
>Brandon G. Coughlin
>Advantage Pro Technologies
>
>service(at)advantagepro.net
>www.advantagepro.net

=AB=A4=BB=A5=AB=A4=BB=A7=AB=A4=BB=A5=AB=A4=BB=A7=AB=A4=BB=A5=AB=A4=BB=A7=AB=
=A4=BB=A5=AB=A4=BB=A7=AB=A4=BB=A5=AB=A4=BB=A7

"There is no better exercise for your heart than reaching
down and helping to lift someone up"  - Bernard Meltzer
Feline Rescue Network at www.felinerescue.net

=AB=A4=BB=A5=AB=A4=BB=A7=AB=A4=BB=A5=AB=A4=BB=A7=AB=A4=BB=A5=AB=A4=BB=A7=AB=
=A4=BB=A5=AB=A4=BB=A7=AB=A4=BB=A5=AB=A4=BB=A7

The Feline Rescue Network specializes in linking up
great homes with great kitties. Join Operation Noble
Foster and offer a foster home for the cats of the
Military while they are away protecting us
http://www.felinerescue.net/noblefoster/intro.htm

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA