PDA

View Full Version : please help me



ade16tte
12-06-2005, 12:35 AM
:o how do i get this CSS? www.potterhands.com/anjae/main.html


when i place the mouse, it makes an effect.. please help me.. thanks you can send me an email too at ade16tte@yahoo.com

mwinter
12-06-2005, 02:25 PM
www.potterhands.com/anjae/main.html

when i place the mouse, it makes an effectPresumably you mean that moving the mouse cursor over a link causes it to change colour.

Simple:



a:link {
background: transparent;
color: #rrggbb;
}
a:link:hover {
color: #rrggbb;
}
Replace 'rrggbb' with the colour values you want (#ffffff is white, #000000 is black, #87baff is a pale blue, etc.) and the links will change colour.

If you start changing link colours, you should change all other aspects of links, too. It wouldn't really do to keep the default purple visited link colour, for instance.

The two remaining types are visited:



a:visited {
/* ... */
}
and active:



a:active {
/* ... */
}
The visited link colour should be unique so that links a user has already followed are clearly distinguished from other unvisited links. The active colour, shown whilst the user is clicking (that is, the mouse button is held down), can be whatever you like.

Hope that helps,
Mike