原本没边框的时,里面的内容刚好撑满div,
但是加了边框后,里面的内容就偏移了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
回复讨论(解决方案) copyright @2006 your company | all rights reserved
design by gerhard studios | w3c xhtml 1.1 | w3c css 2.0
p元素换成div