1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Having trouble with DIV layout. HELP Please!!

Discussion in 'Web Design' started by powerteam, Dec 16, 2011.

  1. powerteam

    powerteam Regular Member

    Joined:
    Sep 30, 2009
    Messages:
    454
    Likes Received:
    246
    Location:
    Tucson, AZ
    So trying to design a simple clean layout with header, sidebar, body, footer. Everything looks great and content shows up in each container, but if there is anything in the sidebar container, it pushes the content of the body container down and displays it after the content ends in the sidebar.

    If someone could check it the code and see what I am doing wrong it would be a big help. The site is adult and does contain adult images.

    Code:
    http://myxxxpicsite.com
     
  2. Lord Insidious

    Lord Insidious Newbie

    Joined:
    Dec 2, 2011
    Messages:
    6
    Likes Received:
    1
    you've got some broken/incomplete tags, and look at your css, that could be causing the problem?
     
  3. jazzc

    jazzc Moderator Staff Member Moderator Jr. VIP

    Joined:
    Jan 27, 2009
    Messages:
    2,468
    Likes Received:
    10,153
    You need to increase the width of the .wrapper to 915px.

    Why? .left takes 175+15(margin) and .right takes 725px = 915px ;)
     
    • Thanks Thanks x 1
  4. powerteam

    powerteam Regular Member

    Joined:
    Sep 30, 2009
    Messages:
    454
    Likes Received:
    246
    Location:
    Tucson, AZ
    OMG!!! Your my freaking hero!! I completely forgot I had added the 15 margin into it after I adjusted the width. Thanks+Rep for you!