I'm using a
<button class="..."><img src="..."></button>
the class removes the the border and background of the button, sets the size for it and places the cursor as a hand.
I'm doing it this way because it is accessible when using the tab key and activates when the spacebar is used.
The only thing is that when clicked, the image repositions itself slightly down and right. Is there a way to disable the image movement?
-----------------------------------
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rich Cook
<button class="..."><img src="..."></button>
the class removes the the border and background of the button, sets the size for it and places the cursor as a hand.
I'm doing it this way because it is accessible when using the tab key and activates when the spacebar is used.
The only thing is that when clicked, the image repositions itself slightly down and right. Is there a way to disable the image movement?
-----------------------------------
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rich Cook