Why can't I get this to work? HTML and CSS

Discussion in 'HTML & Website Design' started by yousellstuff1, Mar 13, 2010.

  1. #1
    I am trying to make two sections within my container and i am just using the black to see where they are. I am trying to align the two boxes horizontally on the same line

    What do I need to do in the code to make this work? As of now, the large the one of the left gets, the more the one on the right lowers.

    Thanks in advance
     

    Attached Files:

    yousellstuff1, Mar 13, 2010 IP
  2. Bogdanirov

    Bogdanirov Peon

    Messages:
    58
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi mate!

    Try to put to the left div the {float:left;} selector. It may work! :)
     
    Bogdanirov, Mar 13, 2010 IP
    yousellstuff1 likes this.
  3. yousellstuff1

    yousellstuff1 Active Member

    Messages:
    1,195
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    75
    #3
    you are a genius
    thank you very much
     
    yousellstuff1, Mar 13, 2010 IP
  4. Bogdanirov

    Bogdanirov Peon

    Messages:
    58
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You're welcome! :)

    I'm glad to be helpful..
    Regards,
     
    Bogdanirov, Mar 13, 2010 IP