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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

css question - links

Status
Not open for further replies.

ayersart

Technical User
Dec 21, 2004
69
0
0
US
I have a style called "continue"
.continue {
border-bottom: 1px solid #688C40;
border-left: 1px solid #688C40;
border-right: 1px solid #141C0D;
border-top: 1px solid #141C0D;
color: #FFFFFF;
font-weight: bold;
background-color: #006633;
padding: 5px;
margin-top: 5px;
margin-right: 5px;
margin-bottom: 3px;
margin-left: 5px;
}


How do I add a:link and a:visited color modifications ONLY to this particular style?
 

Code:
.continue a:visited{
[green]\\styles[/green]
}

.continue a:hover{
[green]\\styles[/green]
}



This will make all links inside an object with the class continue to have those attributes for their visited and hover states.

----------------------------------
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top