/    Sign up×
Community /Pin to ProfileBookmark

i need the cursor hand to appear

shouldn’t this bit of code get my cursor hand to appear as soon as i hover over the cell? i’m only getting the cursor hand when actually over the link.

[code=html]<td style=”cursor:hand;”
onMouseOver=”this.bgColor=’#EC8623′”
onMouseOut=”this.bgColor=’#CCCC99′” width=”180px”
onClick=”location=’index.htm'”>
<a class=”link_level_1″ href=”index.htm”>Start</a>
</td>[/code]

[CODE].link_level_1 {
font-family: tahoma, verdana, arial;
font-size: 13pt;
float: left;
color: #000000;
text-decoration: none;
margin-left: 20pt;
}[/CODE]

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@getretauthorJun 16.2006 — just realize it's only firefox that it isn't working in.

originally the html was
[code=html]<td align="left" width="20px" bgcolor="#EC8623"></td>
<td align="left" style="cursor:hand;"
onMouseOver="this.bgColor='#EC8623'"
onMouseOut="this.bgColor='#CCCC99'" width="180px"
onClick="location='index.htm'">
<a class="hdr" style="text-decoration: none; display:block;"[/code]


there is something i've changed that made it all go away. interestingly enough, changing the class from hdr (which wasn't one i was using and must have come from some code i coppied and pasted) to the class i'm using made it stop working. this is very confusing.
Copy linkTweet thisAlerts:
@WebJoelJun 16.2006 — Use:
[code=html]style="cursor:pointer; cursor:hand;"[/code]

Use [I]both[/I] "pointer" and "hand". Internet Explorer 5.x will trip if "pointer" is not [I]first[/I], and you'll need "hand" for some versions of Netscape (and possibly older Mozilla as well??).

Be aware that the selector "default" is actually an [I]arrow[/I], -what we'd call a "pointer", -which is actualy a "[I]hand[/I]"... hmm... Confused?? :rolleyes:

-Joel

(p.s., -the reason why "hand" won't do so well by itself, is that this is Microsoft proprietary and therefore, not supported by all browsers..)
×

Success!

Help @getret spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...