943,929 Members | Top Members by Rank

Ad:
Nov 1st, 2004
0

Help with text box height

Expand Post »
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
Similar Threads
Reputation Points: 11
Solved Threads: 0
Junior Poster in Training
cuddlers89 is offline Offline
57 posts
since Mar 2004
Nov 2nd, 2004
0

Re: Help with text box height

/* 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 */
}
Reputation Points: 54
Solved Threads: 20
Master Poster
DaveSW is offline Offline
765 posts
since Jul 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Guest book in Front Page
Next Thread in HTML and CSS Forum Timeline: I Need Help With Frames Please (HTML).





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC