I have an html form and the submit button says "submit query". How can I remove this text? I am using a background image for the submit button and this text is messing up the button :( Any help would be greatly appreciated.
i want to not display the submit
HollerTrain
2009-10-26 14:57:55
+5
A:
If you do not give your submit button a value
<input type="submit" />
instead of something like
<input type="submit" value="Submit" />
it will display 'submit query' by default. Try giving it a space
as the value.
Brandon
2009-10-26 14:54:12
A:
You just have to give it a value:
<input type='submit' name='btnTest'>
<input type='submit' name='btnTest2' value='Push Me'>
In the example above, btnTest
renders as "Submit Query" while btnTest2
renders as "Push Me". Hope this helps.
UPDATE: You can do this to not display any text.
<input type='submit' name='btnTest2' value='' style="width:100px;">
J.Hendrix
2009-10-26 14:56:39
+3
A:
use:
<input type='submit' name='btnTest2' value=''>
Leave the value blank and there will be no words on the button. Since you're using a background image a for the button, give the button a height and width, otherwise it will display as a small gray blip (because there are no words on the button).
tahdhaze09
2009-10-26 19:09:18
+1
A:
Just put a space between the value quotes. Simple fix.
Read the question before you reply. You may actually help someone.
Noosa
2010-07-06 13:49:14