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 7514761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:36:00+00:00 2026-05-30T00:36:00+00:00

I’m making a website for a friend who gave me a reference to another

  • 0

I’m making a website for a friend who gave me a reference to another site the layout of which he liked, and asked me if I could "make his similar to that one".

The reference site is probably 10 years old and done with 5-levels-deep nested tables so I decided to use CSS like a good web developer.

The problem is that he wants a two-column layout with a header, but one in which one column overlaps the header and one doesn’t. I laid the site out like this:

<html style="min-height: 100%">
<head>...</head>
<body style="min-height: 100%">
  <div id="left" style="height: 100% !important">
    ...stuff...
  </div>
  <div id="header">
    ...stuff...
  </div>
  <div id="right" style="height: 100% !important">
    ...stuff...
  </div>
</body></html>

Everything uses relative positioning and percentage or auto height/width. Now the main problem is that both #left and #right, just as expected, have a height that is 100% of the page. The problem is that the #right div is pushed down bu the #header div that’s right on top of it, so there’s some extra room at the bottom of the page that is occupied only by the #right div.

Is there a way around this? I’ve considered changing the style of #header to have a percentage height and subtracting that from the height of #right, but that seems kludgy to me (on top of which it’ll probably break IE).

  • 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-30T00:36:01+00:00Added an answer on May 30, 2026 at 12:36 am

    First off, I don’t suggest using min-height:100% for anything. Just use height:100%. min-height is supposed to be used mainly for a pixel or em value. using % with min-height defeats the purpose, you can’t have a minimum height equal to a percentage of your screen.

    I would use the 1140 grid system. It’s easy to use, very flexible, and can make your layout easy and quick to design.

    Using the 1140 grid system try this:

    <div class="container">   
        <div class="row">
            <div class="twelvecol">
                <p>Header area!!!!</p>
            </div>
        </div>
    </div>
    <div class="container">   
        <div class="row">
            <div class="sixcol">
                <p>left column</p>
            </div>
            <div class="sixcol last">
                <p>right column</p>
            </div>
        </div>
    </div>
    

    There you go, problem solved.

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

Sidebar

Related Questions

I used javascript for loading a picture on my website depending on which small
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to understand how to use SyndicationItem to display feed which is
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have a French site that I want to parse, but am running into
I would like to run a str_replace or preg_replace which looks for certain words
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I have a text area in my form which accepts all possible characters from
I'm making a simple page using Google Maps API 3. My first. One marker
That's pretty much it. I'm using Nokogiri to scrape a web page what has

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.