Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Oct 2011
    Posts
    12
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Regarding Mouse Pointer

    Hi frds ,

    I have requirement that when ever I hover the mouse on image then the mouse pointer should be hand symbol ,

    So for that I have written the code as

    <a style="cursor: hand;"> <img ....?</a>

    in IE it works fine but in Firefox it doesnot works

    Note :
    I have already used as <a href="#"> <img ....></a> but due to this , the screen is jumping when we click on image

    Thanks
    Raj

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,861
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Use cursor: pointer; instead, which is the right value.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • Users who have thanked abduraooft for this post:

    charanrajd (01-10-2012)

  • #3
    Regular Coder
    Join Date
    Mar 2006
    Posts
    728
    Thanks
    35
    Thanked 132 Times in 123 Posts
    In your style sheet use this line to give all images contained in links the 'hand' cursor:

    a img{cursor:pointer;}


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •