talendguy
talendguy

Reputation: 81

Button Type Border

I am trying to remove this white/grey border from the image but I can't, tried everything.

Original Image:

enter image description here

With the button type:

enter image description here

<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

Answers (2)

Karthick Nagarajan
Karthick Nagarajan

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

sairam
sairam

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

Related Questions