|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Simple Button Formatting Width, Height, Size
Hey,
I'm simply trying to create a series of buttons with the same dimensions. I tried using the key words WIDTH, HEIGHT, SIZE button no matter what values I give it they do not change. An example is below: <input type="submit" value= "Reports" name="REP" width = "200"> <input type="submit" value= "Reports" name="REP" size = "25%"> Any suggestions or help would be way cool! Thanks |
|
#2
|
|||
|
|||
|
Hi,
I think you might be able to use CSS to do this. I have done it before with form fields...so i think it may work with buttons. Try: <head> <style type="text/css"> input.big { font-size: 150% } input.small { font-size: 75% } </style> </head> <body> <input type=button class=small> </body> Quote:
|
|
#3
|
|||
|
|||
|
Hmm...
The above post did help but didn't format in the way I was hoping.
The problem is that when I have a caption on a button such as "Reports" and then have a button with a caption "Inventory" the length of the string determines the width of the button each button. I want to hard code the width of the button regardless the length of its captions. |
|
#4
|
||||
|
||||
|
Something like this:
<input type=button style="width:100px;height:50px"> |
|
#5
|
|||
|
|||
|
Way Cool!
Hey,
Thanks! The last post above worked perfectly. Thanks. |
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > Simple Button Formatting Width, Height, Size |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|