Okay ... So I hate it when I ask a specific question, and instead of answering it, they give me some shitty work, instead of answering the original question that I asked ... But for some reason reason I I decided to do this with you.
If I understand the problem correctly, you just want to have a form button with a background image, and if the background image does not load, do you want some alt text to be displayed to the user with the button title? If this is not the case, stop reading me and the "down arrow".
In the applications I created, I always just entered the input with the background image, but left it up to the HTML control to insert the text ... This is useful for three reasons ... the buttons can be in style, developers can change the value of the text to button without bothering me to make a new image, and if the background image does not load, the button is still readable.
So my html was like this:
<input type="submit" id="btnSearch" class="searchButton" value="Search">
then my class can read something like:
.searchButton { backgorund-image: url('searchButtonImage.png'); font-family: sans serif; font-size: 10px; color:
If you want to make BG more general, move the width of the button to make it in the line on the button, so developers can change the width with the text value and make your overall bg image equal to 200px.
Depending on the browser, the text may not be as pleasant and smooth as in others, but IMO, this is a small price to pay.
(Disclaimer: Please forgive me if you copy and paste this and it does not work. I just wrote it without protesting it.)