Results 1 to 2 of 2

Thread: div help...

  1. #1
    Join Date
    Oct 2010
    Posts
    2

    div help...

    Hey guys
    First of all thanks for your support
    I'am a beginner in all the site building idea. I had to do a site for my theater business.
    The link http://www.theater-prospect.com/ -this is my first site (-:
    I have one problem that I didn't solve.
    My div layers, if I resize the window, stay in the same spot .that a problem.
    I need somehow to attach the div layers to the background so when I resize the window they will resize too and move with the resize flow.
    Its really important to me so any help will be grateful.

  2. #2
    Join Date
    Oct 2010
    Location
    Orlando Florida
    Posts
    140
    You need to contain the content in a wrapper, not just the body tag.

    I.e.

    <body>
    <div id="container">
    <div class="menu">menu items</div>
    <div class="content">Content Area</div>

    <div style="clear:both;"></div>
    </div>
    </body>

    ****** CSS ******
    body {
    padding: 0;
    margin: 0;
    }
    #container {
    width: 960px;
    margin: 0 auto;
    padding: 0;
    }
    .menu {
    float: left;
    width: 200px;
    }
    .content {
    margin-left: 210px;
    }
    Fishpunt Design Studio - Orlando, Florida

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •