Anyway if you want to let your divs to behave like buttons when the mouse passes over, you need to change the mouse cursor to the pointer
This is how it is done :
<div id="BuyCredits2" style="this.style.cursor='pointer'">
<label style="this.style.cursor='pointer'">Buy Credits</label>
</div>
<div id="BuyCredits2" style="this.style.cursor='pointer'">
<label style="this.style.cursor='pointer'">Buy Credits</label>
</div>
There are some more pointer options
- default
- auto
- crosshair
- hand
- wait
- help
- text
- move
- n-resize
- s-resize
- e-resize
- w-resize
- ne-resize
- nw-resize
- se-resize
- sw-resize
- pointer