|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Enlarge a textbox
Hi
I have a textbox and inside that textbox I have a time counter. I want to make the textbox and the numbers bigger. I have a function that set's the height of the textbox but it doesn't seem to work. function setHeight() { document.getElementById("CountText").style.height="100px" } the CountText Id is the textbox. |
|
#2
|
|||
|
|||
|
You can set the font, the height will accomodate. You can set this way the width of the textbox.
Hope it helps |
|
#3
|
||||
|
||||
|
I agree, I would simply change the font size.
Why are you doing this with Javascript? Wouldn't it be cleaner to simply set it once in your stylesheet?
__________________
Daryl's Homepage | My Blogroll | My Profile | Firefox supporter! DevArticles Forum Moderator "The net is a waste of time, and that's exactly what's right about it." -- William Gibson |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > Enlarge a textbox |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|