Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi,
I have a table cell(300px x 200px) and inside that cell some text.I want to make a hiperlink which covers the entire cell, even if inside the cell there's only a single line of text. I use this code:
<td class="stiri" width="60%">
<a class="tari" href="test">
<div class="io">
A line of text
</div>
</td>And in the .css file I have the lines:
div.io{width:300px;height:200px;}
a.tari:hover {background-color:#dbdbdb;}When I pass the mouse pointer over that cell, it all becomes grey, just as I wanted, but there is a problem: the mouse pointer doesn't become a hand anymore, it remains arrow.
Does anybody know how to avoid this, so that the mouse pointer turns into a hand all allover the cell?
Thanks

Add the following to the div.io class (you need both because of browser compatibility):
cursor:pointer;cursor:hand;
Michael J

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

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