View Full Version : underlined link onmouseover
bouchel113
08-26-2003, 12:01 PM
hi, I know how to remove the underline of text link, but how could I make it appear again when the mous goes over it????
bcarl314
08-26-2003, 12:17 PM
with CSS
a {
text-decoration:none;
}
a:hover {
text-decoration:underline;
}
bouchel113
08-26-2003, 04:19 PM
thank you for answering me, that's very nice.. but i actually never used any css even if know one or two tricks... where should I put that script? where should write the refercence to the link it's gonna work on? thanx...
bcarl314
08-26-2003, 04:24 PM
put this between your <head> tags:
<style type="text/css" media="screen">
a {
text-decoration:none;
}
a:hover {
text-decoration:underline;
}
</style>
This will apply to all <a> tags in your web page
Cymru
08-26-2003, 04:24 PM
Put it inside a <SCRIPT> tag that goes between the <HEAD> tags.
<html>
<head>
<style type="text/css">
a {
text-decoration:none;
}
a:hover {
text-decoration:underline;
}
</style>
<title></title>
</head>
<body>
...
</body></html>
MotherNatrsSon
08-26-2003, 05:10 PM
Ithink it is like this:
<html>
<head>
<style type="text/css">
a {
text-decoration:none;
}
a:hover {
text-decoration:underline;
}
</style>
<title></title>
</head>
<body>
...
</body></html>
MNS
oracleguy
08-26-2003, 05:21 PM
MNS is correct. Script won't work, or at least it shouldn't.
bcarl314
08-26-2003, 05:34 PM
Oops, sorry 'bout that. I fixed it now.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.