Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have several input bottons on an

Status
Not open for further replies.

bookouri

IS-IT--Management
Feb 23, 2000
1,464
US
I have several input bottons on an html page, they are all like the following execept for the name of the form:

<input type=&quot;submit&quot; name=&quot;Submit19&quot; value=&quot;my form&quot; onClick=&quot;runForm1();&quot;>

The buttons automatically size themselves to the value. Is there any way to make the buttons the same width? Ive tried size= and width= but nothing seems to make any change. I can imbed spaces in the form text but that makes for a ragged and ugly html page.

any suggestions would be appreciated.
 
make a class for it


input.somename {
height: 25px;
width: 100px;
}

<input type=&quot;submit&quot; name=&quot;Submit19&quot; value=&quot;my form&quot; onClick=&quot;runForm1();&quot; class=&quot;somename&quot;>


<signature>
sometime you just gotta say &quot;WHAT THE @#*% !!&quot;
</signature>
 
You can easily do it using stylesheets. Check out my listing for
All my buttons are specified in the external stylesheet.

Cheers,


[monkey] Edward [monkey]

&quot;Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!&quot; -- inventor of the cat door
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top