admin管理员组文章数量:1794759
html公用页脚使用代码,页脚在HTML
正常显示我使用的主要内容两个列layout.One和一个侧边栏页脚在HTML style="color:#2aa0ea" target=_blank class=infotextkey>html
在HTML中我使用下面的代码
-----------
-----------
-----------
----------
----------
----------
CSS文件包括以下代码
#content
{
padding-top:100px;
padding-bottom:50px;
width:1000px;
margin:0px auto;
}
#main-content
{
width:720px;
padding-top:250px;
padding-bottom:30px;
padding-right:20px;
position : absolute;
}
#sidebar
{
float:right;
width:270px;
padding-top:250px;
padding-bottom:30px;
}
#footer
{
background: url(../images/footer.jpg) repeat-x;
width:100%;
clear:both;
margin:auto;
}
页脚代码显示在页面的中间,可能是在侧边栏 可以看到here结束。页脚是黑色。
+1
你正在通过'javascript'编写'footer div' ..但是y ..在那个cuz中没有必要使用javascript,因此只需要写'静态内容'!把它带回到html! –
版权声明:本文标题:html公用页脚使用代码,页脚在HTML 内容由林淑君副主任自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.xiehuijuan.com/baike/1686813761a106163.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论