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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:09:05+00:00 2026-05-23T23:09:05+00:00

I have CSS problems. I will try to explain my problem to you with

  • 0

I have CSS problems. I will try to explain my problem to you with using pictures.
I have a web page like this:
This must be normal view

This is the view that I don’t want while it is full with words:
Content view overflows from page but there is no scrolling in page

But I don’t want these ones. I want this: while content(content div) is full with words, It will expand to bottom and a scroll will appear right side of page. As a result, I want a content that expands without not effected top div but effects bottom div to move bottom together.

I hope I have explained my problem..

  • 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-23T23:09:06+00:00Added an answer on May 23, 2026 at 11:09 pm

    I’m not sure, but I think this is what you want:

    HTML:

    <body>
        <div id="content">
            <div id="top">This is the top div</div>
            <div id="main">This is the main div</div>
            <div id="bottom">This is the bottom div</div>
        </div>
    </body>
    

    CSS:

    body{
        width: 100%;
        margin: 0px;
        padding: 0px; 
    }
    
    #content{
        margin: 0px auto;
        width: 800px;
    }
    
    #top{
        text-align: center;
        background-color: #FF0;
        height: 100px; 
        width: 800px;
        position: fixed;
        top: 0px;
    }
    
    #main{
        margin-top: 100px;  
    }
    
    #bottom{
        text-align: center;
        background-color: #FF0;
        height: 100px; 
        width: 800px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a CSS like this ul { list-style-image:url(images/bulletArrow.gif); } ul li { background:
I have an annoying CSS layout problem. I'm trying to float images on a
I've some CSS problem in Firefox 3. I have several image buttons on my
Here is the problem: we have lots of Javascripts and lots of CSS files,
It is advisable to use tables in HTML pages (now that we have CSS)?
I have written some CSS which targets elements using the parent > child selector.
I have a bowling web application that allows pretty detailed frame-by-frame information entry. One
I have a CSS class called grid which I place on my tables. I
Are .css files always needed? Or may I have a .css basic file and
Is it possible to have a CSS rule which basically undoes a prior rule?

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.