Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

visited link color

Status
Not open for further replies.

rrmcguire

Programmer
Oct 13, 2010
304
US
previously I had made it so that a visited link color for the below:

<p class="meadowtransport"><a href=" >Visit Meadow Lark Transport to lease on Equipment<img src="images/Logo Transport_newsite_small.png" alt="meadow lark transport" border="0" hspace="10"/></a></p>

is changed by:


.meadowtransport a:visited {
text-decoration: none;
color: #00f;
}


I have another class setup:

<div class="Claims">
<ul>Claims
<li>Professional Claims Department</li>
<li>$30,000 Surety Bond</li>
<li><a href=" Comp Endorsement</a></li>
</ul>
</div>


which I have the CSS set as:

.splashcontentleft .Claims ul li a:visited {
text-decoration:none;
color: 00F;
}

Claims is within .splashcontentleft, but the visited link isn't staying blue

The page is at if anyone could help me find out what I have incorect.


thanks
 
looking at your site, you have the following CSS :

Code:
.splashcontentleft .Claims ul li a:link {
    color: #0000FF;
    text-decoration: none;
}
.splashcontentleft .Claims ul li a:hover {
    color: #0000FF;
    text-decoration: none;
}
.splashcontentleft .Claims ul li a:visited {
    text-decoration: none;
}
.splashcontentleft .Claims ul li a:active {
    color: #0000FF;
    text-decoration: none;
}

You seem to be missing the color on the VISITED Link, although you possbily could superclass it to just being

Code:
.splashcontentleft .Claims ul li a
{
    color: #0000FF;
    text-decoration: none;
}

Greg Griffiths
Livelink Certified Developer & ECM Global Star Champion 2005 & 2006
 
I have that out there now, but it still doesn't show blue, #00f as the visited link color
 
seems you are missing the ever important "#" sign for hex colors:
in your a:visited declaration.
Code:
color:[COLOR=white red]_[/color]00F;

----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Behind the Web, Tips and Tricks for Web Development.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top