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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T04:22:53+00:00 2026-05-19T04:22:53+00:00

i have inside the body main ‘container’ div and inside this ‘container’ div there

  • 0

i have inside the body main ‘container’ div and inside this ‘container’ div there are three divs which are ,’header’, ‘content’ and ‘footer’ my question is, i want the ‘content’ div to expand vertically with content increasing dynamically and by that the ‘footer’ will be pushed down when ‘content’ div is expanding. and all of this is done inside the main ‘container’ div so it also expand vertically!?

HTML

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
      <title>Untitled Page</title>
      <link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
     <div id="container">
         <div id="header"></div>
         <div id="content"></div>
         <div id="footer"></div>
     </div>
</body>
</html>

CSS

body
{
    background-color:Gray;
}
#container
{
    border: dotted;
}
#content
{
    border:dotted;
}
#header
{
    border:dotted;    
}
#footer
{
    border:dotted;
}
  • 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-19T04:22:53+00:00Added an answer on May 19, 2026 at 4:22 am

    You could use the CSS attribute min-height for this purpose, but you’ll have to consider that it won’t be support in all (legacy) browsers.

    Here’s an example: http://jsfiddle.net/YS9XV/1/

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

Sidebar

Related Questions

I have this code: <body onLoad=subcatSelection();> The function is inside a .js file which
I have a div (main div) which contains several div elements(sub divs). I want
Basically this is my issue, I have a container with 4 divs inside, in
Hello guys i have main div tag: height:1800px; width:1200px; inside it there are div
I have an iframe container inside the body section and a button. Any click
So I have a div in my body that's a percentage width, and inside
I have these nested divs and I need the main container to expand (in
I have this code: function render(str) { var main = document.createElement('div'); with(main.style) { //style
I have this jq function to open a link inside a div: $(document).ready(function() {
I have two css columns for my website they fit inside a main container,

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.