Is there a way to only display text inside an INPUT element?
<p><input type="image" src="" border="0" name="submit" alt="Donate"></p>
Although it works well, Safari and Chrome do not show the alt="Donate"
, instead displaying an empty square.
Edited: I used this code from bobince:
<input type="submit" class="unbutton" value="Donate">
.unbutton {
color: black; background: none;
border: none; padding: 0; margin: 0;
overflow: visible; /* IE hack to avoid extra button width */
}
How can I display the word "Donate" without using images, just plain text? I want to avoid using images and solely use text to represent "Donate".
PS: This relates to PayPal's donation button.
Answer: I forgot to include value="Donate"
:P