• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

HTML Question

UNLTuba

Senior member
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
 
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.
 
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.
 
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
 
You guys are quick. I was going to reply but by the time I figured it out it went from 0 answers to 3.😱
 
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
 
Back
Top