I am trying to move the background image [arrow] to the extreme right of the button, I need approx 10px or 15px padding from the right side of the input button like this: jsfiddle.net/44f61m5e/
HTML:
<input type="button" value="Add a new row" class="button_add" />
CSS:
input.button_add {
height: 32px;
padding-right: 36px;
border: 1px solid #000;
background: #ff9900 url(http://placehold.it/16x16) no-repeat right; cursor: pointer;
}
Demo : http://jsfiddle.net/Tk68M/150/
Can anyone suggest the better way without adding an image tag like this: jsfiddle.net/44f61m5e/
Thanks in advance.