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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T23:56:51+00:00 2026-05-10T23:56:51+00:00

Header div on top of the 3 columns Height of all columns must fill

  • 0
  1. Header div on top of the 3 columns

  2. Height of all columns must fill at least the height of viewport. So if a column has a different bgcolor, the color is all the way to bottom of viewport even if column has no content.

  3. Second and 3rd columns have variable width. If 3rd column width is 0, 3rd column collapses and template turns into a 2 column one. (not that important requirement)

  4. A sticky footer in 2nd column which always stays at bottom of viewport even if 2nd column has no content however footer should not be below bottom border of 1st and 3rd columns.

  5. Works in FF & IE 6+

Example: (the two dashed lines are viewport edges)

-----------------------------------------        HEADER full width of viewport  column 1      column 2       column 3   |                             |   |                             |   |                             |  \ /           my footer       \ / ----------------------------------------- 
  • 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. 2026-05-10T23:56:52+00:00Added an answer on May 10, 2026 at 11:56 pm

    Give up and use tables

    Really, css alone is not suitable for this kind of thing.

    use a simple 3-column table, then use css on top of it.

    <table id='layout'><tr>     <td id='left-column'> {{ NAV MENU }} </td>     <td>         <table id='middle-table'><tr><td id='middle-column'> {{ CONTENT GOES HERE }} </td></tr>                <tr><td id='middle-footer'>{{FOOTER}}</td></tr>         </table>            </td>     <td id='right-column'>{{RIGHT COLUMN}}</td> </tr></table>  <style type='text/css'> table#layout tr td {     vertical-align:top } table#layout {     width: 100%;     height: 100%; } td#left-column {     width: 100px; /* or what ever you want */ }  table#middle-table, td#middle-column {     height: 100%; } </style> 

    To achieve the footer in the middle column, I inserted another table inside the middle column. I don’t think you can achieve this effect without a table.

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

Sidebar

Ask A Question

Stats

  • Questions 70k
  • Answers 70k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Ok,here is an explanation for the #HttpOnly_ prefix: http://blog.php-security.org/archives/40-httpOnly-Cookies-in-Firefox-2.0.html My… May 11, 2026 at 12:48 pm
  • added an answer I'm not sure what you're actually expecting the OS to… May 11, 2026 at 12:48 pm
  • added an answer Well you certainly can use a List<List<string>> where you'd then… May 11, 2026 at 12:48 pm

Related Questions

I am trying to have a table header, in a seperate div stay in
Consider the following: <div onclick=alert('you clicked the header') class=header> <span onclick=alert('you clicked inside the
I'm implementing a table with a fixed header using this kind of setup: <div
Header, footer and sidebars have fixed position. In the center a content area with
Looking for some direction here as I'm running into some migration problems. We have
I have three DIVs, something like this: <div id=header> ... </div> <div id=content> <div
I'm trying to match the h4 of a div (using jQuery) so that I
I have an AJAX application which has used CSS divs to create panels on

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.