Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Aug 2009
    Posts
    401
    Thanks
    118
    Thanked 0 Times in 0 Posts

    search box alignment trouble

    any idea how i get the "Search" button in the upper left of my site to vertically align with the text input box next to it? thanks!!!

    http://www.21centuryinc.com/new_index1.html

  • #2
    Regular Coder
    Join Date
    Apr 2008
    Posts
    685
    Thanks
    15
    Thanked 105 Times in 104 Posts
    You need to make them the same height firstly, and then set their paddings and margins to 0, because different browsers set a default padding and margin to input boxes.

    I'd also make the search field 2px less height than the submit button because it will have 2px worth of border height in addition to it!


  •  

    Posting Permissions

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