underlined texts

Status
Not open for further replies.

delon

Banned
Messages
397
Reaction score
0
Points
0
how can i make some text get get underlined when someone scrolls on the text.
 

LHVWB

New Member
Messages
1,308
Reaction score
0
Points
0
Use the css a:hover thing, link for reference is below.
http://www.javascriptkit.com/howto/css.shtml

You probably want to use some code like the code below, I haven't tested it but it should work, its an example of the general theory anyway. ;)

HTML:
<style type="text/css">
.hovertext{
color:white;
}
.hovertext:hover{
color:red;
}
</style>
<div class="hovertext">Text</div>
 
Last edited:

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
delon,

To show the moderators that this problem has been resolved, would you please lock your thread by clicking 'Thread Tools' above your first post then 'Close Thread' then 'Perform Action', please? It allows moderators to get on with their jobs.

-Luke.
 

Sohail

Active Member
Messages
3,055
Reaction score
0
Points
36
Well it should have been there... Anyway i'll take the honours :p.
 
Status
Not open for further replies.
Top