Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

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

irt.org | Knowledge Base | JavaScript | Form 1 | Q245 [ previous next ]

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

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?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.