Freja, If I understand what you are asking, you would have to know how Pseudo-classes work in CSS.
:link Applies to links that have not been visited.
:visited Applies to links that have been visited.
:hover Applies to an element which the mouse is currently over.
:active Applies to an element currently being activated by the user (ie: the mouse is held down over)
The order is important. If you look at your sidebar.css you will see vlad's coding:
div#sidebar div.ext_blog div.content div.item a {
margin: 0px;
padding: 0px 0px 0px 5px;
display: block;
font: 12px/24px tahoma;
color: #ffffff;
text-decoration: none; }
div#sidebar div.ext_blog div.content div.item a:hover {
text-decoration: underline;}
In this case, vlad used a (link) and a:hover (hover) for the blog links. He did not use a:visited or a:active. To acheive the effect you want you would have to use the other states of the Psuedo-class. It would look something like this:
div#sidebar div.ext_blog div.content div.item a {
margin: 0px;
padding: 0px 0px 0px 5px;
display: block;
font: 12px/24px tahoma;
color: #ffffff;
text-decoration: none; }
div#sidebar div.ext_blog div.content div.item a:visited {
text-decoration: underline;}
div#sidebar div.ext_blog div.content div.item a:hover {
text-decoration: underline;}
div#sidebar div.ext_blog div.content div.item a:active {
text-decoration: underline;}
Instead of using text-decoration: underline, use a different color for each state. For example:
div#sidebar div.ext_blog div.content div.item a:visited {
color: #FF0000;}
In this case, the link text will turn red after visited. For your effect, use different colors for the states you want effected. You could use color and underline together for each state, but most webmaster usually don't.
cheers
dan
Last edited by db3204 (2008-04-20 22:12:19)