BirdieNamNam
Programmer
Hello, dear friends!
Do anyone know an easy way to put a small image in addition to the normal text in a HTML button. That is, I'd like to make a function to work with all my buttons, something like:
And the function (AddIcon) would put the image "Smiley.gif" into the button, like this:
Best regards, Sebastian.
Do anyone know an easy way to put a small image in addition to the normal text in a HTML button. That is, I'd like to make a function to work with all my buttons, something like:
Code:
<INPUT
TYPE="button"
NAME="Close"
STYLE="padding-left: 30px"
VALUE="Close"
onLoad="AddIcon('Smiley.gif')">
And the function (AddIcon) would put the image "Smiley.gif" into the button, like this:

Best regards, Sebastian.