Help with text box height

Reply

Join Date: Mar 2004
Posts: 57
Reputation: cuddlers89 is an unknown quantity at this point 
Solved Threads: 0
cuddlers89 cuddlers89 is offline Offline
Junior Poster in Training

Help with text box height

 
0
  #1
Nov 1st, 2004
I am using css to change the form options on my site, this is my code,

HTML and CSS Syntax (Toggle Plain Text)
  1. /* Form elements */
  2. input.first, textarea.first, select.first {
  3. border : 1px solid Black;
  4. background-color : #CCCCCC;
  5. color : #0E1930;
  6. font-size : 12px;
  7. font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
  8. font-weight : bold;
  9. }

But my problem is that the text box created when i use

HTML and CSS Syntax (Toggle Plain Text)
  1. <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
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 764
Reputation: DaveSW is on a distinguished road 
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: Help with text box height

 
0
  #2
Nov 2nd, 2004
/* 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 */
}
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC