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

The Archive Base Latest Questions

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

I am quite new to CSS and HTML so please excuse the noobness. What

  • 0

I am quite new to CSS and HTML so please excuse the noobness.

What I am trying to do is to get the main area of my website to resize according to the amount of text it contains in it. I have searched and searched, but have been unable to find suitable answers. One thing I have tried is putting each of the ‘sections’ into a table, but I could not get it to work.

Any help is greatly appreciated thanks!

Due to posting restrictions I am unable to post the image directly:
http://img402.imageshack.us/img402/6084/sitevuc.png

Here is the HTML:

<body>
<div id="header"></div>
<div id="main"><p>Content</p><p>Content</p><p>Content</p><p>Content</p></div>
<div id="footer"></div>
</body>

Here is the CSS:

#header {
    background: url(images/bg_pages.png) repeat-x;
    min-height: 973px;
    min-width: 1680px;  

}

#main {
    background:#fff;    
    min-height: 100px;
    min-width: 1680px;

}

#footer {
    background:url(images/footer_pages.png);
    min-height: 51px;
    min-width: 1680px;

}
  • 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-27T17:51:57+00:00Added an answer on May 27, 2026 at 5:51 pm

    http://ryanfait.com/sticky-footer/

    Here’s a few lines of CSS that do the trick. Found this just a few days ago.

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

Sidebar

Related Questions

I'm quite new to CSS and I'm trying to get a page up and
I'm quite new to CSS / HTML, and can't find the cause of this
I am quite new to the world of CSS, and I've been trying to
I am quite new to css and html, and I am having trouble floating
Quite new to maven here so let me explain first what I am trying
Im quite new to spring mvc. What I'm trying to achive is separating static
I'm fairly proficient in HTML/CSS, but very new when it comes to the likes
I'm making a small website and I'm very new to CSS but whenever I
I am new to wordpress. I am trying to build a custon website based
I'm quite curious about your experience learning html, css, php, js web standards etc.

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.