View Full Version : Opera cursor:pointer broken?
Schmoopy
03-13-2009, 02:27 AM
Hey, simple question, simple code - Is the cursor: pointer property broken in Opera?
CSS:
#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?
Medyman
03-13-2009, 03:50 AM
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
Schmoopy
03-13-2009, 12:28 PM
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.
jlizarraga
03-14-2009, 05:14 AM
You can disable the dotted border with "outline:none;".
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.