• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 188
  • Last Modified:

size of button...real easy one

I have a button on a form and the text on the button is "Print".  The button is too small.  If I make the value = "         Print      " it is fine, but I think I am cheating.  What is the right way to do this??
0
CCOIA
Asked:
CCOIA
  • 2
1 Solution
 
COBOLdinosaurCommented:
Try:
<input type="button" value="Print" style="width:100;text-align:center">

Works for just about every browser except Netscrap 4.x

Cd&
0
 
dorwardCommented:
That sbould be:

width: 100px;

The CSS specification requires units for non-zero values on most properties, including width.



0
 
COBOLdinosaurCommented:
Glad I could help thanks for the A. :^)

Cd&
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now