我似乎无法让我的页脚在手机和平板电脑上保持 100% 的宽度,这在浏览器上很好!请帮忙,这是我的CSS:
.footerbox {
@media only screen and (min-device-width : 768px); (max-device-width : 1024px);
float :left;
width:100%;
height:300px;
margin-left:0;
margin-right:0;
background-image:url(../images/aaheader12.jpg);
background-position:center bottom;
background-repeat : no-repeat;
font-family : Calibri;
font-size : 14px;
color : #000;
}