PDA

View Full Version : Cursor Types In Different Browsers (CSS)



Markxxx
05-25-2006, 08:56 PM
This is a question referring to this script

http://www.dynamicdrive.com/dynamicindex1/switchmenu2.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

jscheuer1
05-25-2006, 09:35 PM
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:


.subItemOver
{
cursor:pointer;
color:blue;
text-decoration:underline;
font-weight:bold;
padding-left:5px;
}

* html .subItemOver
{
cursor:hand;
}