但是加了边框后,里面的内容就偏移了foot高度的一半!
我测试了下,是(margin-top:15px;
border-bottom:1px;)这里出问题,请问该如何修改!
#foot{
width:100%;
height:43px;
margin-top:15px;
border-bottom:1px;
border-bottom-style:solid;
border-top:1px;
border-top-style:solid;
background-color:#996699;
}
.zi{
text-align:center;
color:#646464;
}
Copyright @2006 Your Company | All rights reserved
Design by Gerhard Studios | W3C XHTML 1.1 | W3C CSS 2.0
查看更多关于增加了边框,内容就下移_html/css_WEB-ITnose的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did104280