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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:09:21+00:00 2026-05-10T19:09:21+00:00

Been a while since I’ve dealt with ASP.NET and this is the first time

  • 0

Been a while since I’ve dealt with ASP.NET and this is the first time I’ve had to deal with master pages. Been following tutorials everything is fine except a problem I’m having with the footer.

The master page has divs for topContent, mainContent and footerContent. In mainContent I have a ContentPlaceHolder.

The default content page (just getting some proof-of-concept going here) has a few labels and text boxes in it with one multi-line text box in the Content area. ‘Content1’ properly links back to ContentPlaceHolder1 back on the master page.

When I run the site, the content appears but the footer section isn’t ‘pushed down’ by the now-filled ContentPlaceHolder – it almost acts like a background image.

What attribute am I missing here? I tried using CSS to force the footerContent to the bottom, but that just put the fotter content at the bottom of the browser and when I expanded the multi-line text box to greater than the browser’s window height, the same thing happened (content overlaying the footer)

I know this has to be something simple that I’m missing.

The basics of the master page are as follows:

<form id='form1' runat='server'>   <div id='topContent'>      <table style='width: 832px'>      </table>   </div>    <div id='mainContent'>      <asp:ContentPlaceHolder id='ContentPlaceHolder1' runat='server'>      </asp:ContentPlaceHolder>   </div>    <div id='footerContent'>      <br/><br/>      <center style='font-size: small; font-style: italic; font-family: Arial'>          <a target='_new' href='/Disclaimer.html'>Security and Privacy Notice</a><br/>          ...      </center>   </div>   </form> 

Help!

EDIT: Turns out that VS2005 was putting ‘position: absolute’ tags on all the components (labels and text boxes) that I put on the content.aspx page. Going into the asp tags and changing them to ‘position: relative’ did the trick.

  • 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. 2026-05-10T19:09:22+00:00Added an answer on May 10, 2026 at 7:09 pm

    This doesn’t sound like a master page issue, this sounds like an HTML/CSS layouting issue. What you haven’t stated is whether your DIVs are absolutely positioned or whether they occur within page flow.

    Normally, assuming you’re NOT positioning those DIVs absolutely, the header DIV will be statically sized, the footer will be statically sized, but the content DIV should be allowed to stretch vertically to fit the content. This in turn pushes your footer DIV below the last line of content, which is what you want. But in order for that to happen, we usually omit ‘position: absolute;’ from the footer DIV. It needs to flow.

    Your question is basically asking, ‘I have 3 DIVs, one on top of the other. They’re not pushing each other downward appropriately.’

    The answer is almost always a rogue ‘position: absolute;’ tag, a margin issue, or maybe you’re using a ‘page container DIV’ that’s not set appropriately to expand as its interior DIVs expand.

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

Sidebar

Ask A Question

Stats

  • Questions 253k
  • Answers 253k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The key for you is Unicode -- it's less an… May 13, 2026 at 10:01 am
  • Editorial Team
    Editorial Team added an answer At least with the a recent version of Oracle is… May 13, 2026 at 10:01 am
  • Editorial Team
    Editorial Team added an answer This is a documentation issue. The register page doesn't allow… May 13, 2026 at 10:01 am

Related Questions

Been a while since I've dealt with ASP.NET and this is the first time
Its been a while since I've done any hard core web design, so I
Its been a while since i've needed to do this so i was looking
Its been a while since I had to do some Java/JSP... I have a
It's been a while since I've had to do any HTML-like code in Vim

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.