I also posted this in the CSS forum but since this is related to a master page, I thought I would also post it here...
I'm trying to set the main content of an asp.net master page to 100% and push the footer to the bottom of the page. I can set the min-height to make that happen but I want the page to adjust to each persons browser and resolution.
any help would be appreciated thanks
.main
{
padding: 0px 12px;
margin: 12px 8px 8px 8px;
min-height: 420px;
}
.footer
{
padding: 8px 0px 0px 0px;
margin: 0px auto;
text-align: center;
line-height: normal;
bottom:0;
width:100%;
}
I'm trying to set the main content of an asp.net master page to 100% and push the footer to the bottom of the page. I can set the min-height to make that happen but I want the page to adjust to each persons browser and resolution.
any help would be appreciated thanks
.main
{
padding: 0px 12px;
margin: 12px 8px 8px 8px;
min-height: 420px;
}
.footer
{
padding: 8px 0px 0px 0px;
margin: 0px auto;
text-align: center;
line-height: normal;
bottom:0;
width:100%;
}