1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

trouble positioning a button

Discussion in 'CSS' started by Abh, Sep 12, 2010.

  1. #1
    I'm having a problem with a search button, please take a look on the menu bar: http://lentzsteurel.com/happyenroll/
    The button looks fine in most browsers except Safari and Chrome, where it jumps below the search box.
     
    Abh, Sep 12, 2010 IP
  2. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #2
    The class sf-search has no width.

    I would give it a fixed width (in CSS) with float:right.
    Now put both parts of the form into this sf-search box, one float:left and the other float:right
     
    CSM, Sep 12, 2010 IP
  3. Abh

    Abh Active Member

    Messages:
    162
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    60
    #3
    tx, problem solved.
     
    Abh, Sep 12, 2010 IP