Re: different link colors
- From: SAZ <saz1958@xxxxxxxxxxxxxxxx>
- Date: Wed, 25 Feb 2009 11:53:22 -0600
In article <ni1px5cwk6gv.s0gopvc5600x$.dlg@xxxxxxxxxx>,
SPAMfree@xxxxxxxxx says...
how do i create different link colors on same web page?
i define how <A> tag look with CSS, but how then do i apply different
formatting to few selected links?
i need to do that to maintain contrast between link color and background.
thanks!
Use different classes:
a:link blue { color: blue; }
a:link green { color: green; }
a:link red { color: red; }
<a class="blue" href="bluepage.html">This is a blue link</a>
and so on.
This is basic CSS, so search Google for a more in-depth answer.
.
- Follow-Ups:
- Re: different link colors
- From: Harlan Messinger
- Re: different link colors
- From: Jukka K. Korpela
- Re: different link colors
- References:
- different link colors
- From: blushark
- different link colors
- Prev by Date: Re: different link colors
- Next by Date: Re: The very, very strang thing (tables)
- Previous by thread: Re: different link colors
- Next by thread: Re: different link colors
- Index(es):
Relevant Pages
|