SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    Show me the money lennymos123's Avatar
    Join Date
    Jan 2002
    Location
    Birmingham, UK
    Posts
    450
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    small text boxes ?

    Can anyone point me in the right direction on how to design a smaller text box i.e. the one above on site point , i need to reduce mine to fit my menu at the top of my page, a smaller one would look neater

    http://www.bellows.co.uk/newsite

    Paul

  2. #2
    Typo Negative brokenvoice's Avatar
    Join Date
    Dec 2001
    Location
    Scotland
    Posts
    227
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use a CSS rule to set the font-size of the box like this
    Code:
    .textbox
    {
        font-size : 10px;
    }
    Then in your <input> use textbox as the class attribut like this
    Code:
    <input type="text" class="textbox" size="....... >
    You could just set it up to work on all <input>s but that would mean your buttons would change size too. If you want to do that though, just change ".textbox" to "input" in the CSS rule above.

  3. #3
    Show me the money lennymos123's Avatar
    Join Date
    Jan 2002
    Location
    Birmingham, UK
    Posts
    450
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for your response brokenvoice!!, it helped alot , i maybe didnt post it in the right section, apologies for that its, now working fine

    http://www.bellows.co.uk/newsite

  4. #4
    Typo Negative brokenvoice's Avatar
    Join Date
    Dec 2001
    Location
    Scotland
    Posts
    227
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Glad to help. You might want to adjust the spacing between the fields and their labels though.


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
  •