Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q245 How do I get all buttons to be same size?

You are here: irt.org | FAQ | JavaScript | Form | 1 | Q245 [ previous next ]

The following works in Netscape Navigator 4 and Internet Explorer 4:

<style type="text/css"><!--
#btntxt8, #btntxt9 {  font-family: monospace; }
--></style>

<FORM>
<INPUT TYPE="button" id="btntxt8" VALUE="abcdefghijklmnopqrstuvwxyz">
<BR>
<INPUT TYPE="button" id="btntxt9" VALUE="                          ">
</FORM>

The following was submitted by Dennis

Using Style Sheets will accomplish this.

<input type=button style="width:125px" value="Send Form">
<input type=button style="width:125px" value="Reset">
<input type=button style="width:125px" value="1">

Feedback on 'Q245 How do I get all buttons to be same size?'

©2018 Martin Webb