Results 1 to 2 of 2

Thread: Cursor Types In Different Browsers (CSS)

  1. #1
    Join Date
    Feb 2006
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Cursor Types In Different Browsers (CSS)

    This is a question referring to this script

    http://www.dynamicdrive.com/dynamici...witchmenu2.htm

    This may be a CSS issue but I am using this script so I'm putting it here.

    Basically the script is fine. The question I have is with the cursors.

    In Mozilla based browsers I am getting "The Hand" as a cursor when I place it over the menu. I get a "straight line" if it's in IE Browser

    When I go into the CSS and change the cursor to "hand" instead of "pointer" it reverses the situation. I get the straight line in Mozilla and the hand in IE

    Is there anyway to get "the hand" to be in both browsers, or is this just something you have to put up with

    I tried various things in the CSS "the cursor" attributes like auto and default
    for. It'd be nice to get the hand in both IE and Mozilla, if possible

    Thanks

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    All browsers now respond well to:

    cursor:pointer;

    However, if you are using an older version of IE, perhaps even with IE Mac, 'hand' is required. You could try this:

    Code:
    .subItemOver
    {
       cursor:pointer;
       color:blue;
       text-decoration:underline;
       font-weight:bold;
       padding-left:5px;
    }
    
    * html .subItemOver
    {
       cursor:hand;
    }
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

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