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

  • Home
  • SEARCH
  • 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 8285599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T11:30:46+00:00 2026-06-08T11:30:46+00:00

I have a few questions regarding my DIV layout. I can’t seem to understand

  • 0

I have a few questions regarding my DIV layout.

I can’t seem to understand why my layout has a massive gap between the divs and the footer. How can I get it to line up right underneath the footer?

Secondly it seems that the method used to make box 2,3,4 all correlate height-wise (they seem to be a bit skew at the bottom). How do I accomplish this? Right now I’m just doing a bit of guess work with the height percentages.

Thanks in advance.

HTML:

<div id="wrapper">
    <div class="logo">logo</div>

    <div id="header">
        <a href="#">link 1</a>
        &nbsp;|&nbsp;
        <a href="#">link 2</a>
        &nbsp;|&nbsp;
        <a href="#">link 3</a>
        &nbsp;|&nbsp;
        <a href="#">link 4</a>
    </div>

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

    <div class="column" id="first-column">
        <div class="window" id="window-1">1</div>
        <div class="window" id="window-2">2</div>
    </div>

    <div class="column" id="second-column">
        <div class="window" id="window-3">3</div>
    </div>


    <div class="column" id="third-column">
        <div class="window" id="window-4">4</div>
    </div>
    <div style="clear: both;"></div>
    <div class="footer">footer</div>
</div>

​

CSS:

body, html{
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    height: 100%;
}

#wrapper {
    margin: 0 auto;
    max-width: 1212px;
    min-height: 540px;
    min-width: 784px;
    position: relative;
    height: 100%;
}

#header{
    text-align:right;
    padding:5px;
    font-size:10px;
    padding-right: 30px;
}

#first-column{
    width: 20%;
    padding-left: 5px;
    height: 100%;
}

#second-column{
    width: 50%;
    height: 100%;
}

#third-column{
    width: 25%;
}

.window{
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border:1px solid #CECECE;
    width:100%;
}

#window-1{
    height:43.5%;
}

#window-2{
    margin-top:10px;
    height:43.5%;
}

#window-3{
    height:87%;
    padding-bottom: 10px;
}

#window-4{
    height:87%;
    padding-bottom: 10px;
}

.column{
    float:left;
    margin: 5px;
    height: 100%;
}

.logo {
    font-family: arial;
    font-size: 12px;
    float: left;
    padding-left: 10px;
}

.footer {
    margin-top: 10px;
    padding-left: 10px;
}
  • 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-06-08T11:30:47+00:00Added an answer on June 8, 2026 at 11:30 am

    height:100% makes trouble, you should remove it first.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a few questions regarding use-case diagram: If my system has register/login use-case
I have a few questions regarding differentiation between const and non-const versions of methods
I have few questions regarding HornetQ: What are differences between HornetQ core API and
I have a few questions regarding WCF: - Can a program act as both
Have few questions regarding Signaling. 1) when the process has few more threads along
I have a few questions regarding android market(Google play). How can I list my
I am a newbie user of Frama-C and have a few questions regarding assertions
I'm very new to TDD world. I have a few questions regarding TDD. Do
I have a few basic questions regarding the syntax and usage of properties in
Although I have read a few previously answered questions regarding a similar issue, I

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.