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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T07:52:14+00:00 2026-05-20T07:52:14+00:00

My page consists from 4divs: header at the top, in the middle are menu

  • 0

My page consists from 4divs: header at the top, in the middle are menu div and content div, and at the bottom is a footer div.

Footer should be fixed at the bottom of the screen. I would like that the content div would be stretched from the header div to the footer div. If I use

position: absolute; 
top: 80px; 
bottom: 30px; 

then the content is stretched to the footer but after that the content is not stretched to the right. Please check the code below. I would like that the content colored with red would stretch vertically from green to yellow colour and horizontally from blue to the right edge of the screen.

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title><tiles:insertAttribute name="title" ignore="true" /></title>
        <style>
        html,body{
            margin:0;
            padding:0;
            height:100%;
        }

        #javanus_header{
            height: 80px;
            background:#AAF054;
        }

        #javanus_footer{
            position:absolute;
            bottom:0;
            width:100%;
            height:30px;/* Height of the footer */
            background: yellow;
        }
        #javanus_menu{
            float: left;
            position: absolute;
            top: 80px;
            height:200px;
            width: 200px;
            background: blue;
        }
        #javanus_content{
            height: 300px;
            margin-left: 200px;
            background: red;
            top:100px;
            bottom:50px;
            background-image:url(img/assist.png);
            background-repeat: no-repeat;
            background-position:center;
        }
    </style>
    </head>
    <body>
        <div id="javanus_main">
            <div id="javanus_header">
            </div>
            <div id="javanus_body">
                <div id="javanus_menu">
                </div>
                <div id="javanus_content">
                </div>
            </div>
            <div id="javanus_footer">
            </div>
        </div>
    </body>
</html>

Best regards,
Javanus

  • 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-20T07:52:15+00:00Added an answer on May 20, 2026 at 7:52 am

    I’m assuming that’s what you need.

    Check Working example at http://jsfiddle.net/hk4p5/2/

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

Sidebar

Related Questions

I have a page that consists of a header div for navigation, a content
Below is one item in my page, which consists of the div containing two
I have a HTML page that I have created that essentially consists of: <div>
My page consists of the following code: @{ var db= Database.Open(Surgestuff); var sqlQ =
I've a mobile page developed with ExtLib mobile controls: http://hostname/mydb.nsf/MobileTest.xsp The page consists of
I have a web page that consists of a checkbox (parent) and on this
my website consists only of one page where all other pages are loaded in
Basically I have a series of projects displayed on the page. Each project consists
I have a database generated page which shows lots of links. This page consists
I have a web page that consists of a checkbox (parent) and on this

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.