Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hey guys, I have a couple links that I basically wnat the font to change to a bigger size when the mouse pointer goes over it, the links use CSS for there attributes, how qould I do this...here is the code...
b {
font-family:Arial;
font-size:13px;
text-decoration: none;
font-weight: bold;
color:#4ab31f;
}.vv {
font-family:Arial;
font-size:16px;
text-decoration: none;
font-weight: bold;
color:#4ab31f;
}
Basically I want the font to go from "b" to "vv" when the mouse goes over it, any ideas or an easier way to do this, thanks.

for all links:
a:link, a:visited {
font-family:Arial;
font-size:13px;
text-decoration: none;
font-weight: bold;
color:#4ab31f;
}a:hover {
font-family:Arial;
font-size:16px;
text-decoration: none;
font-weight: bold;
color:#4ab31f;
}for some links:
.speciallink a:link, .speciallink a:visited {
font-family:Arial;
font-size:13px;
text-decoration: none;
font-weight: bold;
color:#4ab31f;
}.speciallink a:hover {
font-family:Arial;
font-size:16px;
text-decoration: none;
font-weight: bold;
color:#4ab31f;
}for the above, you do this on the link:
[a href="http://something" class="speciallink"]something[/a]
:::::
There are numerous other ways to play with it, like
td a:link, td a:visited {}
will apply to all links inside a <td>, etc

hm sorry, for the speciallink above it should be:
a.speciallink:hover, a.speciallink:visited
because .speciallink a:hover will apply to all links inside the .speciallink class like:<div class="speciallink"> or <b class="speciallink">, etc

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |