Click here to Skip to main content
15,888,802 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
i have created masterpage and i want to add footer using css, it should add to the content place holder depends upon the size of content page size.
Posted

1 solution

Hi,

Try this code.


I have this in my master page

<td style="height:450px">
<asp:ContentPlaceHolder ID="CRPPlaceHolder" runat="server" >
</asp:ContentPlaceHolder>
</td>

....
...
<td style="width: 8%; height: 100%" class="ApplicationTitle">
<asp:Label ID="lblVersion" runat="server" CssClass="ScreenHeader" Text="Version 1.1.0"></asp:Label>
</td>


In my content page is have,
<asp:Content ID="Content1" ContentPlaceHolderID="CRPPlaceHolder" runat="Server">
......
......
</asp:Content>


Hope this helps.
 
Share this answer
 
v2

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