Click here to Skip to main content
15,898,222 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a small site I'm building and it is based on new ASP.NET 4.0 Web Application template. I'm using the Site.css. There is a border around the content by default, but the size changes based the amount of content. I was able to make this border around the content a consistent size by adding a height attribute to the .main value in the Site.css as shown below.

.main
{
    padding: 0px 12px;
    margin: 12px 8px 8px 8px;
    min-height: 420px;
    height:650px

}


However, I have a copyright user control that is placed on every page and it floats to the end of the content, whereas I want it to either appear below the border line, or just above it consistently.

Has anyone figured out the best way of accomplishing this?
Posted
Updated 3-Nov-10 10:19am
v2

1 solution

The site.master for the 4.0 web application template includes a div with the class name "footer". One might use that or add a "FooterContent" place holder.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900