1

I have a map element and area as rect

<map name="Map">           
 <area class="showCursor" shape="rect" coords="1,3,10,8">  
</map>

I want the cursor to be default when I hover on that area and added a class showCursor

area.showCursor {
    cursor: default;
}

Now this is showing default cursor in chrome, but on IE and Mozilla it is showing the hand.

How can I make it default cursor in all the browsers.

Dheeraj Patnaik
  • 345
  • 1
  • 5
  • 18

2 Answers2

0

This may help you

<img usemap="#Map" src="yourimagesource" height="120" width="100" />
<map name="Map">           
 <area shape="rect" coords="0,0,120,100" href="#" alt="Sun" class="crossbar">
</map>

area.crossbar{
    cursor: default;
    display:block;
}
0

Hope this CSS will work

area(Your Class name) {
    cursor: pointer;
}

OR you can try this one also

area(yuor class name){
    cursor:auto;
}
Hemangi Satasiya
  • 53
  • 1
  • 2
  • 8