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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:24:49+00:00 2026-05-29T05:24:49+00:00

I am trying to create a webdesign with a full width fixed menu, a

  • 0

I am trying to create a webdesign with a full width fixed menu, a full width header, 960px wide centered content with 3 columns (each with the height of 100%) and a full width sticky footer.

In all working examples I have seen header, content and footer is the same width.

(edited) My problem is to make the columns stretch to full height of the screen, from the bottom of the header to the top of the footer, at any screen size.

I have made an example of what I am trying to achieve: http://muku.dk/example.jpg

Is this possible with CSS?

  • 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-29T05:24:50+00:00Added an answer on May 29, 2026 at 5:24 am

    Something like this. Please note that this is just to guide you to the right direction. You have to stick in there youself the equal height columns by using any technique and also the sticky footer.

    The Markup

    <!Doctype html>  
    <html lang="en">  
    <head>  
    <meta charset="utf-8">  
    <title>Title Goes Here</title>  
    <link rel="stylesheet" href="styles.css">  
    </head>  
    <body> 
    <div id="wrapper">
    <div id="my_menu">
    <p>fixed menu width 100%</p>
    </div>
    <div id="container">
    <div id="my_header">
    <p>header width 100%</p>
    </div>
    <div id="content">
    <div id="col1">
    <p>column 1 width 320px height 100%</p>
    </div>
    <div id="col2">
    <p>column 2 width 320px height 100%</p>
    </div>
    <div id="col3">
    <p>column 3 width 320px height 100%</p>
    </div>
    </div>
    <div id="my_footer">
    <p>sticky footer width 100%</p>
    </div>
    </div>
    </div>
    </body>  
    </html>  
    

    The Style

    *
    {
    padding: 0;
    margin: 0;
    }
    
    html, body
    {
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    }
    
    div#wrapper
    {
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    }
    
    div#my_menu
    {
    width: 100%;
    min-width: 100%;
    height: 50px;
    border: 1px solid black;
    background-color: grey;
    position: fixed;
    }
    
    div#my_menu>p
    {
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    font-size: 50px;
    line-height: 50px;
    font-weight: bold;
    text-transform: uppercase;
    color: red;
    text-align: center;
    }
    
    div#container
    {
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    padding-top: 50px;
    }
    
    div#my_header
    {
    width: 100%;
    min-width: 100%;
    height: 100px;
    border: 1px solid black;
    background-color: yellow;
    }
    
    div#my_header>p
    {
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    font-size: 100px;
    line-height: 100px;
    font-weight: bold;
    text-transform: uppercase;
    color: red;
    text-align: center;
    }
    
    div#content
    {
    width: 960px;
    margin: 0 auto;
    height: 100%;
    min-height: 100%;
    border: 1px solid black;
    background-color: blue;
    overflow: auto;
    }
    
    div#col1
    {
    width: 320px;
    height: 100%;
    min-height: 100%;
    outline: 1px solid black;
    background-color: green;
    float: left;
    }
    
    div#col1>p
    {
    width: 100%;
    min-width: 100%;
    font-weight: bold;
    text-transform: uppercase;
    color: red;
    text-align: center;
    }
    
    div#col2
    {
    width: 320px;
    height: 100%;
    min-height: 100%;
    outline: 1px solid black;
    background-color: orange;
    float: left;
    }
    
    div#col2>p
    {
    width: 100%;
    min-width: 100%;
    font-weight: bold;
    text-transform: uppercase;
    color: red;
    text-align: center;
    }
    
    div#col3
    {
    width: 320px;
    height: 100%;
    min-height: 100%;
    outline: 1px solid black;
    background-color: gold;
    float: left;
    }
    
    div#col3>p
    {
    width: 100%;
    min-width: 100%;
    font-weight: bold;
    text-transform: uppercase;
    color: red;
    text-align: center;
    }
    
    div#my_footer
    {
    width: 100%;
    min-width: 100%;
    height: 80px;
    border: 1px solid black;
    background-color: pink;
    }
    
    div#my_footer>p
    {
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    font-size: 80px;
    line-height: 80px;
    font-weight: bold;
    text-transform: uppercase;
    color: red;
    text-align: center;
    }
    

    EDIT 1

    Try this. This works perfect. The Footer sticks to the bottom even when there is not enough content and pushed down when there is more content. Also the verticaly Scroolbar does not appear. Now please don’t ask me to make the columns equal height as well.

    The HTML Markup

    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="utf-8" />
    <title>Document Title</title>
    <link rel="stylesheet" href="main.css" type="text/css" />
    </head>
    <body id="index">
    <div id="wrapper">
        <div id="my_menu">
        FIXED MENU WIDTH 100%
        </div>
        <div id="my_header">
        HEADER WIDTH 100%
        </div>
        <div id="content">
            <p>CONTENT 960px</p>
            <div id="col1" class="content_columns">
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            COLUMN 1 WIDTH 320px HEIGHT 100%
            </div>
            <div id="col2" class="content_columns">
            COLUMN 2 WIDTH 320px HEIGHT 100%
            COLUMN 2 WIDTH 320px HEIGHT 100%
            COLUMN 2 WIDTH 320px HEIGHT 100%
            COLUMN 2 WIDTH 320px HEIGHT 100%
            COLUMN 2 WIDTH 320px HEIGHT 100%
            COLUMN 2 WIDTH 320px HEIGHT 100%
            COLUMN 2 WIDTH 320px HEIGHT 100%
            COLUMN 2 WIDTH 320px HEIGHT 100%
            COLUMN 2 WIDTH 320px HEIGHT 100%
            </div>
            <div id="col3" class="content_columns">
            COLUMN 3 WIDTH 320px HEIGHT 100%
            COLUMN 3 WIDTH 320px HEIGHT 100%
            COLUMN 3 WIDTH 320px HEIGHT 100%
            COLUMN 3 WIDTH 320px HEIGHT 100%
            COLUMN 3 WIDTH 320px HEIGHT 100%
            </div>
            <div class="clear_floats"></div> <!-- For Clearing Floats -->
        </div>
        <div class="push"></div> <!-- For Sticky Footer -->
    </div>
        <div id="my_footer">
        STICKY FOOTER WIDTH 100%
        </div>
    </body>
    </html>
    

    The Style CSS

    * /* For CSS Reset */
    {
    padding: 0;
    margin: 0;
    }
    
    html, body
    {
    width: 100%;
    height: 100%;
    }
    
    div#wrapper
    {
    width: 100%;
    height: 100%;
    min-height: 100%; /* For Sticky Footer */
    height: auto !important; /* For Sticky Footer */
    margin: 0 auto -70px; /* For Sticky Footer */
    }
    
    div#my_menu
    {
    width: 100%;
    height: 50px;
    outline: 1px solid black;
    background-color: grey;
    text-align: center;
    position: fixed;
    }
    
    div#my_header
    {
    width: 100%;
    height: 100px;
    outline: 1px solid black;
    background-color: yellow;
    text-align: center;
    padding-top: 50px;
    }
    
    div#content
    {
    width: 960px;
    margin: 0 auto;
    outline: 1px solid black;
    background-color: brown;
    text-align: center;
    }
    
    div.content_columns
    {
    width: 320px;
    outline: 1px solid black;
    background-color: gold;
    text-align: center;
    float: left;
    }
    
    div.clear_floats /* For Clearing Floats */
    {
    clear: both;
    }
    
    div#my_footer
    {
    width: 100%;
    height: 70px;
    outline: 1px solid black;
    background-color: pink;
    text-align: center;
    }
    
    div.push /* For Sticky Footer */
    {
    height: 70px;
    }
    

    Hope this helps.

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

Sidebar

Related Questions

I am trying create a WCF service that leverages the WPF MediaPlayer on the
I'm trying create a bot which automatically likes Facebook posts. Using Mechanize I can
I am trying create a delegate representation of constructor by emitting a Dynamic Method,
Ok so I am trying create a login script, here I am using PHP5
Trying to create a QtRuby application, I get the following error: /usr/lib64/ruby/site_ruby/1.8/Qt/qtruby4.rb:2144: [BUG] Segmentation
Trying to create a user account in a test. But getting a Object reference
Trying to create my first iPhone app that would play back audio. When I
Trying to create several layers of folders at once C:\pie\applepie\recipies\ without using several different
Trying to create a small monitor application that displays current internet usage as percentage
Trying to create a list to return some JSON data to a view. Following

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.