[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Button Sizing

> > Not a JavaScript question pre se, but does any one know how to contol the
> > length of a button. 
The length depends on the number of characters in the label. You can
add spaces (normal ones, not neccessarily  's) to make the button
longer. The problem is that it works the best only with fixed fonts
(e.g. Courier). Therefore, one of the solution is:
   <TT><INPUT TYPE=button VALUE=" abcdefght "><BR>
       <INPUT TYPE=button VALUE="    xyz    ">
This gives you both buttons with the same length, BUT maybe you do not
like the font used...


| Martin Senger     m.senger@dkfz-heidelberg.de      |
|                   voice: (0049) 6221/422340        |
|                   fax:   (0049) 6221/422333        |
This message came from the mailing list javascript. For help using the
mailing list software, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.