Forums / Templates, Stylesheets, Page Layout / Different Color for Links Depending on Page Location

Different Color for Links Depending on Page Location

Locked

Views: 1,448

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
10 Oct 2006, 3:01 PM
#1
jwashburn avatar

jwashburn

New Zenner

Join Date:
Jun 2006
Posts:
30
Plugin Contributions:
0

Different Color for Links Depending on Page Location

How would I make hyperlinks appear a different color based on where they are?

I would like the links in my header to be white to show up against the blue background, however if I do that all my links turn white, this making some of text invisible in my main page because it is a white background.

I am trying to match the default color of vbulletin the best I can. They somehow have links in different colors based on the style, because my header links are white on vbpages. I just cant figure out how to do it with zen

https://www.norcalmotocross.com/forum is the vb site

https://www.norcalmotocross.com/catalog is what I am working on.

10 Oct 2006, 3:06 PM
#2
jwashburn avatar

jwashburn

New Zenner

Join Date:
Jun 2006
Posts:
30
Plugin Contributions:
0

Re: Different Color for Links Depending on Page Location

I figured it out. For those of you that may stumble upon this.

You have to set up a class and then call that class. (is this the correct terminalogy)

For example

.tcat a:link
{
color: #ffffff;
text-decoration: none;

Then run a div tag around your link

For example

 <td width="11%" height="26" nowrap="NOWRAP" ><div align="center" class="tcat"><a href="http://www.yourdomain.com/page" class="navmenu">This is a LINK </a></div></td>