HTML Question

UNLTuba

Senior member
Aug 23, 2000
614
0
0
Hey all! I'm wondering how I can change the link color of specific links on my web page... Here's what I mean - http://www.unltuba.f2s.com/. How do I get the links on the right and left to stay their current color (when I make them links) instead of reverting back to the standard blue/red link color of the News section on the front page? Thanks much!

-Eric
 

TheVrolok

Lifer
Dec 11, 2000
24,254
4,092
136
Assuming you know how to edit HTML, just through a font tag with the necessary parameters before all the links, then then end tag right afterwards.
<font cololr=&quot;#000000&quot; link=&quot;#0000FF&quot; vlink=&quot;#FF0000&quot; alink=&quot;#000088&quot;>
Link1
Link2
.
.
.
</font>

Fill in the appropriate values.
 

konichiwa

Lifer
Oct 9, 1999
15,077
2
0
Or you could put it in the stylesheet at the <HEAD> of the page if you want the whole page to look like that. Try going to htmlgoodies.com for lots of info on stylesheets.
 

Cyph3r

Senior member
Jan 20, 2000
790
0
0
There are multiple ways..one is to keep it simple with regular HTML..all you do is add the LINK, VLINK and ALINK tags in your <BODY> tag..so

<BODY BGCOLOR=&quot;red&quot; LINK=&quot;#FFFFFF&quot; VLINK=&quot;#DDDDDD&quot; ALINK=&quot;#000000&quot;>
</BODY>

LINK = Regular link color
VLINK = Visited link color
ALINK = Active link color

This will keep it the way it is right now.

The other option is to use CSS and this way you could not only keep the colors you have right now, but get rid of the underline associated with a link and only underline a link when the mouse moves over it. The code for that would be

<STYLE TYPE=&quot;text/css&quot;>
A:link { color: #FFFFFF; font-family: Verdana; text-decoration: none; }
A:visited { color: #DDDDDD; font-family: Verdana; text-decoration: none; }
A:active { color: #000000; font-family: Verdana; text-decoration: none; }
A:hover { text-decoration: underline; }
</STYLE>

Regards
 

Iphis

Banned
Mar 1, 2001
257
0
0
You guys are quick. I was going to reply but by the time I figured it out it went from 0 answers to 3.:eek:
 

UNLTuba

Senior member
Aug 23, 2000
614
0
0
Thanks for all of the replys guys... So far, TheVrolok's answer seems to help the most. The rest of you posted ideas on how to change the link color for the entire page. I just want to change the color of specific links. I'll try it out and let you know. Thanks again!

-Eric