javascript - Input tag does not pick up width below 20px -


i need set width of input tag of type button 16px not taking width below 20px , not reduce size.

enter image description here

i want have button green check image on , size should below 20px unable using input tag. if take img instead of input tag, won't have same press effects of button.

any appreciated.

it obey sizes below 20px. need override innate padding on buttons proof: enter image description here

a clear knowledge of what's default button required (ignore innermost box)

enter image description here

.tick {    height:10px;    width:10px;  }  .tick-20px {    height:20px;    width:20px  }  .btn-10px {    padding: 0;    width: 10px;    height: 10px;  }
<button class="btn-10px"></button>  <button><img class="tick" src="http://www.freeiconspng.com/uploads/accept-tick-icon-12.png"></button>  <button><img class="tick-20px" src="http://www.freeiconspng.com/uploads/accept-tick-icon-12.png"></button>


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -