I need my Footer in my Master page to always apear on the bottom of the page. Right now one content page is to large and the footer over laps the content page. Im using a master page with a header and footer section. IF you need other code let me know. But i think it can be solved with just the CSS below.
CSS for the Footer
div#Footer
{
width: 100%;
height: 80px;
padding: 1px;
-moz-border-radius: 35px;
border-radius: 35px;
background-color: Black;
color: #ffffff;
position: absolute;
bottom: 0px;
text-align: center;
margin-left: auto;
margin-right: auto;
}
Css for the page embeded in master page
#MainComments
{
width: 60%;
margin-left: auto;
margin-right: auto;
text-align: center;
}
#LeaveComments
{
margin-left: auto;
margin-right: auto;
text-align: left;
width: 60%;
}
Markup for Page that gets embeded into master page
<div id="MainComments">
<asp:Image ID="CommentedImage" ImageUrl="~/Pictures/4.jpg" Width="50%" runat="server" />
<br />
<br />
<asp:Label ID="lblCommenter" runat="server" Text="By Josh"></asp:Label><br />
<asp:TextBox ID="PicComments" Text="Hello" runat="server" Rows="3" Width="50%" TextMode="MultiLine"
ReadOnly="True"></asp:TextBox>
<br />
</div>
<div id="LeaveComments">
Leave Comments:<br />
<asp:TextBox ID="txtEmail" runat="server" Text="Enter your email."></asp:TextBox><asp:Label
ID="lblDirections" runat="server" Text="You must have an account to leave commnets."></asp:Label>
<br />
<asp:TextBox ID="txtComment" runat="server" Width="50%" Rows="3"
TextMode="MultiLine"></asp:TextBox><br />
<asp:Button ID="Button1" runat="server" Text="Leave Comment"
onclick="Button1_Click" />
</div>