Computing.Net > Forums > Web Development > mouse pointer inside hiperlink

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

mouse pointer inside hiperlink

Reply to Message Icon

Name: eugensth
Date: August 19, 2006 at 10:12:52 Pacific
OS: Red Hat 8.0
CPU/Ram: AMD 450 Mhz 128 MB RAM
Comment:

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



Sponsored Link
Ads by Google

Response Number 1
Name: Michael J (by mjdamato)
Date: August 20, 2006 at 11:07:49 Pacific
Reply:

Add the following to the div.io class (you need both because of browser compatibility):

cursor:pointer;cursor:hand;

Michael J


0
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: mouse pointer inside hiperlink

Highlighting words/phrases webpage www.computing.net/answers/webdevel/highlighting-wordsphrases-webpage/87.html

links javascript instead of html www.computing.net/answers/webdevel/links-javascript-instead-of-html/2696.html

onmouseover to change font www.computing.net/answers/webdevel/onmouseover-to-change-font/2018.html