Attempting to incorporate an image within a textbox in the following format (## representing the image):
---------------------
| ## |
---------------------
My progress so far:
input.loading {
background: url(/images/loader.gif) no-repeat right;
}
However, the result is not quite what I intended:
---------------------
| ##|
---------------------
I now need to add some padding to the right side, but I am unsure how to achieve this.