如何仅使用母版页在底部设置页脚 [英] how to set footer at bottom only using master page
本文介绍了如何仅使用母版页在底部设置页脚的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨...
我们正在使用母版页开发项目。但是我们不知道如何在母版页的任何页面中设置页脚底部。
请帮助我。谢谢你。
Hi...
We are developing a project using master page.But we dnot know how to set footer at bottom only in any page of master page.
pls help me.thank u.
推荐答案
嗨...
最后我找到解决办法只在每页的底部设置页脚比如.css(使用母版页)。
Hi...
finally I have find solution to set footer at bottom only on every page like in .css(using master page).
#content
{
clear:both;
width: 950px;
position:relative;
min-height:330px;
}
.footer
{
position:relative;
height: 5em;
margin-bottom:-5em;
/* bottom:3px;
z-index:05px;
margin-top:-5em; */
background-image:url('bg_footer111.gif');
background-repeat:no-repeat;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
color:#FFFFFF;
left:5px;
right:-5px;
width: 982px;
}
谢谢你。很好。
thank u.Its woring fine.
试试这个,
< div>
< center style =font-size:small>页脚内容< / center>
< / div> ;
在你的css中使用以下内容作为页脚div:
bottom:0px;
position:absolute;
Try this,
<div>
<center style="font-size:small">Footer content</center>
</div>
Use the following in your css for the footer div:
bottom:0px;
position:absolute;
在此之前编写此代码:
Write this code just before:
这篇关于如何仅使用母版页在底部设置页脚的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文