Reputation: 81
I am trying to remove this white/grey border from the image but I can't, tried everything.
Original Image:
With the button type:
<form action="#" method="post">
<button type="submit" name="maquinas" value="" >
<img src="http://industriadeltenis.com/wp-content/uploads/2014/07/IMG-LOGO-620x330.jpg" >
</button>
</form>
Upvotes: 0
Views: 30
Reputation: 1345
you can use bootstrap overlay class
<form action="#" method="post">
<button type="submit" name="maquinas" value="">
<img src="imgpath" style=" position: absolute;clip: rect(0px,60px,100px,0px);">
</button>
</form>
Upvotes: 0
Reputation: 31
please try below style to the button tag, hope it will work.
<form action="#" method="post">
<button type="submit" name="maquinas" value="" style="padding:initial">
<img src="imgpath" >
</button>
</form>
Upvotes: 1