Jump to content
N-Europe

Recommended Posts

Posted

I've got the following CSS file:

 

.text {

font-family: sans-serif;

color: black;

font-size: 13px;

}

 

And I need to put something to change hyperlink colours. However, in the body section of the page, I have already used the link, alink, and vlink commands in the body tag. How can I change the hyperlink colour for just in the areas where that CSS is implemented?

 

Thanks!

Posted

.text > a:link {color: red;}

.text > a:visited {color: green;}

.text > a:hover {color: blue}

.text > a:active {color: pink;}

 

That should do it.

Posted
.text > a:link {color: red;}

.text > a:visited {color: green;}

.text > a:hover {color: blue}

.text > a:active {color: pink;}

 

That should do it.

 

That works perfectly, thanks so much!

×
×
  • Create New...