Results 1 to 4 of 4

Thread: Opera cursor:pointer broken?

  1. #1
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default Opera cursor:pointer broken?

    Hey, simple question, simple code - Is the cursor: pointer property broken in Opera?

    CSS:

    Code:
    #nav a:hover{
    cursor:pointer;
    }
    Works for Firefox and even IE! Not Opera though, is this a known bug or what? I also tried cursor: hand; with no success.

    Any ideas?

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    It should work. The fact that you're setting a pointer cursor on an anchor in the first place seems suspect though. Whatever is preventing the hand cursor from showing up for links is probably the culprit.

    For reference: http://www.quirksmode.org/css/cursor.html

  3. #3
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    It's because I'm using the onclick event, and no href so I need to add the pointer to show it's a link.

    Before you say... The reason I've not done "href: javascript:function()"; is because when the user clicks on links like this it leaves a dotted border around the button, which I'm guessing is for accessibility, but the link is on the same page and so that's why I'm using onclick.

  4. #4
    Join Date
    Apr 2008
    Location
    San Diego, CA
    Posts
    352
    Thanks
    57
    Thanked 6 Times in 6 Posts

    Default

    You can disable the dotted border with "outline:none;".

Tags for this Thread

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
  •