V
vinit_mahajan99
Hello All.
I am designing the master page for my site.
I have used a table and ther are three rows in a table.
Table lies in the
1. Header
2.ContentHolder
3.Footer
The footer should be always at the end of the browser.
But I have a problem my footer is being shown at the middle of the
page.
It adjusts itself according to the content holder height but not the
browser height.
How can I always show it to the bottom of a browser.
I have already spent a lot of time.
Here is a code for the master page.
<%@ Master Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<table style="height:100%;width:100%" >
<tr>
<td class="header">
</td>
</tr>
<tr>
<td>
<asp:contentplaceholder id="ContentPlaceHolder1"
runat="server">
</asp:contentplaceholder>
</td>
</tr>
<tr>
<td class="footer">
</td>
</tr>
</table>
</form>
</body>
</html>
Please reply me asap. I need it.
Vinit
I am designing the master page for my site.
I have used a table and ther are three rows in a table.
Table lies in the
1. Header
2.ContentHolder
3.Footer
The footer should be always at the end of the browser.
But I have a problem my footer is being shown at the middle of the
page.
It adjusts itself according to the content holder height but not the
browser height.
How can I always show it to the bottom of a browser.
I have already spent a lot of time.
Here is a code for the master page.
<%@ Master Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<table style="height:100%;width:100%" >
<tr>
<td class="header">
</td>
</tr>
<tr>
<td>
<asp:contentplaceholder id="ContentPlaceHolder1"
runat="server">
</asp:contentplaceholder>
</td>
</tr>
<tr>
<td class="footer">
</td>
</tr>
</table>
</form>
</body>
</html>
Please reply me asap. I need it.
Vinit