Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi !! I don't know if I'm in the 2

Status
Not open for further replies.

JeanPhil

Programmer
Dec 23, 2003
27
CA
Hi !!

I don't know if I'm in the right forum. I need to change the mouse pointer when it passes on a text field. Is it possible ? I need it to be a hand if possible.

Thanks !!
 
add [tt]style="cursor: pointer;"[/tt] attribute to the tag or (better) do it through the stylesheet.

________________________________________
[hippy]Roger J Coult; Grimsby, UK
In the game of life the dice have an odd number of sides.
 

If you want the cursor to change to a hand over a text field, try this:

Code:
<input type=&quot;text&quot; style=&quot;cursor:hand;&quot;>

or this:

Code:
<textarea style=&quot;cursor:hand;&quot;></textarea>

Hope this helps!

Dan
 
cursor: hand; works on IE, cursor: pointer; (as it was pointed at the top) is the correct css value for the hand icon.
 

Well blow me - I never knew that... That's what you get for not upgrading old O'Reilly books printed in 1998 to newer versions!

I knew I should have asked Santa for some book vouchers ;o)

Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top