Jump to content

[SOLVED] Visited link


otuatail

Recommended Posts

I am having problems with Visited links. I want them to stay blue text-decoration:none even when visited.

 

The site is http://www.des-otoole.co.uk/Test/

 

And the style sheet section is

 

/* Side Menu Tabs */
.navigation
{ 	position:absolute;
left:0em;
top:15em;
width:5em;
background-image: url(../images/screen2.gif);
padding-top:1em;
text-decoration: none;
}

ul.tabnav, ul.tabnav li
{
  margin: 0;
  padding: 0;
}

ul.tabnav li
{
   margin-left: 0.2em;
   margin-top: 0em;
}

.tabnav
{ 	height: 20px;
margin: 0px;
padding-left: 2px;
}

.tabnav li
{ 	margin: 0px;
	padding: 0px;
	width:8em;
display:list-item;
list-style-type: none;
font-family:times new roman;
font-weight: bold;
font-size: 1.2em;
line-height: 1em;
color: #D2CDC8;
text-decoration: none;
}

.tabnav a:link, .tabnav a:visited
{
    color:0000FF;
margin-right: 8em;
    text-decoration: none;
font-family:times new roman;

}

.tabnav a:link.active, .tabnav a:visited.active
{
  color:00FF00;
}

.tabnav a:hover
{
  color: #f4f40b;
}

 

 

Link to comment
Share on other sites

change your last three css blocks to:

 

.tabnav a
{
    color:0000FF;
    margin-right: 8em;
    text-decoration: none;
    font-family:times new roman;
}

.tabnav a.active
{
  color:00FF00;
}

.tabnav a:hover
{
  color: #f4f40b;
}

Link to comment
Share on other sites

No. Tried that. It hasn't worked.

 

.tabnav a
{
    color:0000FF;
    margin-right: 8em;
    text-decoration: none;
    font-family:times new roman;
}

.tabnav a.active
{
  color:00FF00;
}

.tabnav a:hover
{
  color: #f4f40b;
} 


Link to comment
Share on other sites

oh...duh....your color properties need # signs:

 

.tabnav a
{
    color:#0000FF;
    margin-right: 8em;
    text-decoration: none;
    font-family:times new roman;
}

.tabnav a.active
{
  color:#00FF00;
}

.tabnav a:hover
{
  color: #f4f40b;
}

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.