Thread: Custom Cursor Highlight
Results 1 to 4 of 4
Related
-
Custom cursor onmouseover question Forum: CSS Forum
Replies: 0 -
Another Custom Cursor Question Forum: CSS Forum
Replies: 2 -
custom cursor for scrollbar Forum: CSS Forum
Replies: 5 -
custom cursor onmouseover? Forum: HTML Forum
Replies: 2 -
highlight table script Forum: Javascript Forum
Replies: 1
-
09-26-2002, 11:32 AM #1
Custom Cursor Highlight
I'm trying to highlight a row in a table and turn it gray when the user moves the mouse over a particular cell.
I know how to do this in HTML -
<tr onMouseOver=style.backgroundColor='silver'
onMouseOut=style.backgroundColor='white'</tr>
But how do I add this functionality to a .css?
Thanks in Advance.
John
-
09-26-2002, 11:58 AM #2
Hi there.
Try -
onMouseOver="this.className='newClass'
Then make a .newClass in your .css file to make it work.If one of our members helps you, please click theicon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
-
09-26-2002, 12:13 PM #3
Thanks for the response.
I just don't know how to define this in my .css file.
Can't I make a new tag for TR like the TD tag:
tr {
color:#000000;
font-size:12
}
-
09-26-2002, 04:27 PM #4
Hmm. You are better off using classes.
Try my tutorial, http://css.somepeople.net , its got an intro to classes.
By using classes you are not limited to one tag. It can apply to anything.If one of our members helps you, please click theicon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum