|
-
making cell highlight when rollved over
I have css code that highlights table rows when moused over, but how do I highlight a table cell when mouse cursor is over it, using css?
-
tell css code what you have
-
Hi,
We can do it using simple css code. You can write your css for the particular <td> tag ie., column of the table while hovering it.
Take this example:
html code:
<table>
<tbody>
<tr>
<td>Hai</td>
<td>Hello</td>
</tr>
</tbody>
</table>
css code:
table td:hover{
border:1px solid blue;
}
It will highlight the particular column with blue border while mouse over on it.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks