SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict hitmanuk2k's Avatar
    Join Date
    Apr 2003
    Location
    Leeds, England
    Posts
    234
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Search box not lining up correctly

    How can I make my search box (very top left) line up properly with the submit button?

    http://www.obsessedwithfilm.com/

    And before the first reply in this thread comes telling me my page is not valid... yes, I am aware of that. But it's only because of the poor coding in a couple of plugins I use for Wordpress, which I am actively working on updating.
    Follow me on Twitter, or find me on LinkedIn. Latest project: loanpayday.org.uk.

  2. #2
    SitePoint Wizard bronze trophy Centauri's Avatar
    Join Date
    May 2007
    Location
    Newcastle, Australia
    Posts
    3,718
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In your css, change #tagleft img to #tagleft input :
    Code:
    #tagleft input {
    vertical-align: bottom;
    }

  3. #3
    SitePoint Evangelist hexburner's Avatar
    Join Date
    Jan 2007
    Location
    Belgium
    Posts
    591
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Does vertical-align work with older browsers?
    If not, try setting the style for the input[text] to position:relative;top:-5px;
    FOR SALE: 1 set of morals, never used, will sell cheap

  4. #4
    SitePoint Addict hitmanuk2k's Avatar
    Join Date
    Apr 2003
    Location
    Leeds, England
    Posts
    234
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Centauri View Post
    In your css, change #tagleft img to #tagleft input :
    Code:
    #tagleft input {
    vertical-align: bottom;
    }
    Thanks very much. I nearly had it!

    It works as far back as IE5.5 which is far enough for my needs hexburner.
    Follow me on Twitter, or find me on LinkedIn. Latest project: loanpayday.org.uk.


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
  •