把浏览器窗口缩小后就变成这样了,请问老师这是为什么啊?
.public-container{
position: relative;
margin:0 auto;
width: 1100px;
}
.public-footer{
height: 218px;
padding-top: 100px;
background:#3b3b3b;
}
.public-footer .footer-col{
float: left;
width: 230px;
margin-right: 60px;
font-size: 16px;
color: #fff;
line-height: 1.8;
}
.public-footer .footer-col:last-child{
margin-right:0;
}
.public-footer .footer-col .footer-logo{
width: 182px;
height: 55px;
margin-top: -18px;
margin-bottom: 10px;
background: url("../images/index-footer-logo.png");
}
container已经设置了width: 1100px;
container 设置一个最少宽度看看