Results 1 to 2 of 2

Thread: Form TextBox Height

  1. #1
    Join Date
    Dec 2005
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Form TextBox Height

    Is there a way to make the default height of a single line text box smaller? Also, give it a different border color?

    Thanks....

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    HTML Code:
    <input type="text" style="font-size:.75em;border:2px inset pink;">
    Instead of inset you can use outset, solid or dashed. Also, you can get really creative and specify border-top, border-right, border-bottom and border-left. Each can be a different thickness, style and color. An em is the usual size of a font so, .75em as used here, is about a 3/4 size input.
    Last edited by jscheuer1; 03-16-2006 at 02:06 AM.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •