Hello,
I am using a submit button from Front Page. The submit button changes in size depending on the text you put in there.
example the following is a link that I have using the button.
<FORM METHOD="POST" name="NoteAdd" action="Tasks/NoteAdd.asp">
<input type="hidden" name="whereFrom" value=d>
<p align="center"><font face="Verdana,Arial,Helvetica" size="2">
<input type="submit" value="Add" name="btnSubmit"></font></td></form>
Whenever you type in the value="Add" the size of the button is different than if you typed in a longer name such as value="Print Record"
I would like to make it so the width of the buttons are the same. Is there a way using CSS to do this?
Thank You,
Dave
submit button
< input type="submit" value="Add" style="width: 200px;" />
If you don't have to support obsolete browsers like IE,
<style type="text/css">
...
input[type="submit"] {
width: 200px;
}
...
</style>cheers,
gary
submit button
Thank You
submit button
dmelosi,
Rather than post the same question twice under different titles if you have failed to gain a response, could you please just *bump* up the original as it gets confusing when people start answering the same question on different threads.
Hugo.
Moderator.