How to Make 2 div boxes in the same line?

Discussion in 'HTML & Website Design' started by kidblogger, Jun 29, 2007.

  1. #1
    Hi all!

    Just a quick question, how do you make 2 div boxes inline with each other?

    for example I want to boxes with this css:

    
    #network {
    margin-top: 20px;
    width: 200px;
    border: 1px solid #d9d8cd;
    background: #edece6;
    }
    
    Code (markup):
    I tried but what happened is that the other box went to the bottom of the first one :eek:
     
    kidblogger, Jun 29, 2007 IP
  2. iWonder

    iWonder Member

    Messages:
    94
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    48
    #2
    Stylesheet
    Template
     
    iWonder, Jun 29, 2007 IP
  3. kidblogger

    kidblogger Active Member

    Messages:
    791
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    70
    #3
    kidblogger, Jun 29, 2007 IP
  4. iWonder

    iWonder Member

    Messages:
    94
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    48
    #4
    You mean overlapping the footer ? then use

    after the last
     
    iWonder, Jun 29, 2007 IP
    kidblogger likes this.
  5. kidblogger

    kidblogger Active Member

    Messages:
    791
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    70
    #5
    Fixed it :D Thanks for the help iwonder. given you a green rep ;)
     
    kidblogger, Jun 29, 2007 IP
  6. iWonder

    iWonder Member

    Messages:
    94
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    48
    #6
    Your Welcome ;) Thanks !
     
    iWonder, Jun 30, 2007 IP