Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6474573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:36:10+00:00 2026-05-25T06:36:10+00:00

As you can see, I have set borders for the divs and the problem

  • 0

As you can see, I have set borders for the divs and the problem I am having is that the container div is so big and when I try to decrease its width the divs inside mess up as in they go down and align vertically….Can you tell what the issue here is? I think it’s something wrong with the content being inside “wrapper” div but I can’t tell what is wrong.

enter image description here

As you can see if I zoom the logo div at top expands but why doesn’t the content div expand as well?

enter image description here

Here is the CSS code: http://codepad.org/OhItDeVq

Lastly, the relevant HTML code: http://codepad.org/RsOOgbGI

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T06:36:11+00:00Added an answer on May 25, 2026 at 6:36 am

    Probably you need your wrapper to be a bit wider because it’s to small place for menu div and content. From the second screenshot you can see that.

    Maybe you need something like this:

    CSS

    .wrapper { width: 980px; position:relative; margin:0 auto; }
    .header { background:red; clear:both; height:100px; }
    .menu { width:160px; background:#ccc; float:left; height:300px; }
    .content { margin-left:160px; height:400px; background:green; }
    

    HTML

    <div class="wrapper">
        <div class="header"></div>
        <div class="menu"></div>
        <div class="content"></div>
    </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a div that contains 3 fields You can see the image here
I have a Mercurial repository that I can see just fine if I navigate
I have something that looks like this: As you can see, Blambo is a
I have the following two methods that (as you can see) are similar in
I have one container div which contain 2 dynamic height (height haven't been set)
I have some divs all set to width:100% on my website: <div id=participate class=test>
We have a lot of controls that consist of: A container with rounded borders
Trying not to lose it here. As you can see below I have assigned
I have the following HTML and you can see the extra space between the
If you have used any decent java or .net IDE you can see the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.