View Full Version : form buttons-link


J E P P O
05-03-2003, 05:42 AM
is there a way to make form buttons all the same size because i have a row of buttons and i was wondering if i cold make them all the same size.

Elentari
05-03-2003, 08:35 AM
I don't think that it would be possible because it would adjust to the size of the word within the button...you could try though to change the font size for the buttons with longer words but I don't know if that will work.

Your other alternative is to create your own graphics and use them as form buttons because if you're making your own graphics you will be able to make them the size you want and equal. A graphic form button code that links to another page would look like this....


<form method="link" action="http://address.com"><input type="image" src="button.jpg" height="20" width="60" border="0" alt="Submit your info"></form>

(Obviously change the values of height width and names to the ones you choose).

Dude128
05-04-2003, 03:02 AM
I think you might actually be able to set the width of form buttons. try adding a width="###" attribute to tag.

if that doesn't work (which it might not), you could try adding a series of & nbsp's (without the space) before and after the button text to try and even them all out

J E P P O
05-04-2003, 06:18 AM
thanks but that didn't work so...

i added this style:"width:###"

YEAH!

thanks again for your help,