Click to See Complete Forum and Search --> : mouse icon not change to hand..?? firefox
fireblade
06-11-2007, 12:06 AM
i have setup my menu using table given the click event to to navigate to the specified URL. I have set up Hand Icon to be displayed when user mouse over to the table cell. It works with IE but not in Firefox.
Is there any other methods to get this done?
what the solution exist for fire fox???
Should work unless you are using an image. Could we see the code?
fireblade
06-11-2007, 01:14 AM
I have overcome this error. The problem was with the name i used "hand". I changed it to "Pointer"
below is the correct code.
.sub_menuitem {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weight: bold;
color: #990000;
background-image: url(images/submenu_line.jpg);
background-repeat: repeat-y;
background-position: left;
cursor: pointer;
}
WebJoel
06-11-2007, 07:47 AM
That is because "hand" is IE-proprietary, and "pointer" is the compliant declaration.
If you expect that IE5.x users use your site, you can include both, as:
cursor: pointer; cursor: hand;
and compliant browsers will use "pointer" and ignore "hand", and IE will ignore "pointer" and use "hand".
Be sure that "pointer" is not list after "hand", as this messes-up in IE5. (But really... -does anyone still using IE5? Oddly enough... not too long ago I heard about a local gov't group that yes, -still uses IE5!). :o