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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:56:00+00:00 2026-05-26T03:56:00+00:00

Basically i have a div on my main page that contains the content, now

  • 0

Basically i have a div on my main page that contains the content, now when the content goes over the bottom of the page so the user has to scroll down to view the lower half of the content everything works as it should.

That is with body { height:auto; }, however when this div only has content that can be viewed without scrolling there is a problem with body { -moz-box-shadow:inset 0 0 10px #33333; } meaning that the shadow comes half way up the page.

It is hard to explain so just have a look for your self:

http://middle.dyndns-server.com/index.html
This page has the content extending the dive so height:auto works

and

http://middle.dyndns-server.com/schedule.html
This page does not have the content so the inner shadow doesn’t work properly in firefox. I can correct this with height:100% but then the same happens to the index.

Thanks a lot

  • 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-26T03:56:01+00:00Added an answer on May 26, 2026 at 3:56 am

    You need to add doctype first

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    

    css

    html,body{
      min-height:100%;
    }
    
        #page{
           min-height:100%;
        }
    

    Checkout the below links:

    http://balam.in/personal/stackoverflow/schedule.html

    http://balam.in/personal/stackoverflow/index.html

    You need to put the style declaration inside head tag or in the attached external stylesheet

    <style>
    html,#page,body{
    
    min-height:100%;
    
    }
    </style>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically, I have a main container div with nested content. This div is has
I have a page that has some content and 3 partial views each holding
So basically, I have a div which is runat=server <div id=results runat=server class=results></div> Now,
I am new to jQuery. Basically I have a main page (with jQuery) and
I have a website and in the main page a I have a div
I have an aspx master/content page scenario. The parent page has an IFrame which
Basically I want to have that middle blue body part scroll minus the scrollbar
So basically I have something like this <div class=iframe-holder> <span></span> <iframe src=iframe.html width=200 height=200
I basically have three tables, posts, images and postimages (this simply contains the ids
I basically have 7 select statements that I need to have the results output

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.