Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS fixing the user experience

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #41037
    prathoven
    Participant

    Hi, everyone
    I’m facing this problem lately.
    http://jsfiddle.net/prathoven/e52zT/2/
    when i re-size the browser send buttons moves to the new line. What I want to achieve is search box and button to be in the same line, with the decrease of left margin. this can be done by float: right property but if it could be achieved by margin.
    Thank you for your interest.

    #115727
    Paulie_D
    Member

    How about this?

    http://jsfiddle.net/d3cCE/

    Then use media queries to adjust the margin on the input button.

    #115718
    Watson90
    Member

    Media Queries are your best bet here, if you are so adamant about not using

    float:right

    #115749
    prathoven
    Participant

    @paulie: Thanq for your solution. I really wanted the result similar to float. I really appreciate your approach.
    @watson: I will use it as a last option. I’m thinking of trying another approach.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.