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
  • 1 View
  • 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

Related Questions

Its been a while since I worked in asp.net and a very long time
It's been a while since I have worked with ASP.Net and C#. I am
it’s been a while since the last time I had to use regex, I
It's been a while since I've created a new ASP.NET web application. (I've been
Its been a while since I had to do some Java/JSP... I have a
It's been a while since I last used T4 and this is probably a
It's been a while since I've done any XSL, so forgive me if this
I suspect I may be wording this question incorrectly (it’s been a while since
So its been a while since I last touched the GUI for this application.
I have an ASP.NET website that has been deployed since 2008 with plenty of

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.