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 3 of 3
  1. #1
    Regular Coder
    Join Date
    May 2003
    Location
    Manassas, VA, USA
    Posts
    220
    Thanks
    0
    Thanked 0 Times in 0 Posts

    fix location of search form

    Here's the uri I'm working with: http://pharm.chronolink.net/

    I can't get the search form to appear in the right side of the blue bar. It appears about 1em below where it should be. Can anyone see what's wrong?

    Thanks,
    Andrew
    Get the best Web Design books called Visual QuickStart Guides at the Peachpit Press
    Ithium Web Hosting

  • #2
    Regular Coder zro@rtv's Avatar
    Join Date
    Feb 2005
    Location
    on the network
    Posts
    433
    Thanks
    0
    Thanked 1 Time in 1 Post
    Code:
    #search {
    float:right;
    position:relative;
    top:-18px;
    width:200px;
    }
    it comes symantically after your menu ul, so float wont put it next to it. if you out it before, then it might be more percise.
    ._-zro
    zro@redtv
    zro.redtv.org

    "If HTML and the Web made all the online documents look like one huge book, RDF, schema, and inference languages will make all the data in the world look like one huge database"
    -Tim Berners-Lee, Weaving the Web, 1999

  • #3
    Regular Coder
    Join Date
    May 2003
    Location
    Manassas, VA, USA
    Posts
    220
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks, I forgot that to "float right" it had to be before the content it was floating from.
    Get the best Web Design books called Visual QuickStart Guides at the Peachpit Press
    Ithium Web Hosting


  •  

    Posting Permissions

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