我有一个母版页,我想使用CSS添加页脚 [英] i have a masterpage and i want to add footer using css

查看:89
本文介绍了我有一个母版页,我想使用CSS添加页脚的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我已经创建了母版页,并且想使用CSS添加页脚,它应该添加到内容占位符,具体取决于内容页面大小的大小.


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.

推荐答案

您好,

试试这个代码.


我的主页上有这个

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.


这篇关于我有一个母版页,我想使用CSS添加页脚的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆