| | |
Help with text box height
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Mar 2004
Posts: 57
Reputation:
Solved Threads: 0
I am using css to change the form options on my site, this is my code,
But my problem is that the text box created when i use
is to short as in height.
How can i make the height bigger?
Thanks
HTML and CSS Syntax (Toggle Plain Text)
/* Form elements */ input.first, textarea.first, select.first { border : 1px solid Black; background-color : #CCCCCC; color : #0E1930; font-size : 12px; font-family : Verdana, Geneva, Arial, Helvetica, sans-serif; font-weight : bold; }
But my problem is that the text box created when i use
HTML and CSS Syntax (Toggle Plain Text)
<INPUT class="first" TYPE=text name=q size=30 maxlength=255 value="">
is to short as in height.
How can i make the height bigger?
Thanks
/* Form elements */
input.first, textarea.first, select.first {
border : 1px solid Black;
background-color : #CCCCCC;
color : #0E1930;
font-size : 12px;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-weight : bold;
height: 2em; /* replace 2em with your chosen value, in px or whatever */
}
input.first, textarea.first, select.first {
border : 1px solid Black;
background-color : #CCCCCC;
color : #0E1930;
font-size : 12px;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-weight : bold;
height: 2em; /* replace 2em with your chosen value, in px or whatever */
}
![]() |
Similar Threads
- specifying the background image for a div using the value supplied in a text box (JavaScript / DHTML / AJAX)
- Showing variables in a text box (Scanning results) (Python)
- Set the cursor focus on the dynamic text box created (JavaScript / DHTML / AJAX)
- Automatically populate text box with browser info... (JavaScript / DHTML / AJAX)
- Text box population from DBgrid. HELP!! (Visual Basic 4 / 5 / 6)
- text is being written in text box (Web Browsers)
- Cannot enter any text in a IE text-box (Viruses, Spyware and other Nasties)
Other Threads in the HTML and CSS Forum
- Previous Thread: Guest book in Front Page
- Next Thread: I Need Help With Frames Please (HTML).
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7





