我似乎无法弄清楚为什么这个网站没有默认在移动设备和平板电脑上显示全屏(我只在 iphone 和 kindle fire 上查看)。它也在屏幕上左对齐,而不是居中。该网站还没有响应,所以我没有使用任何媒体查询。
当我有以下情况时,主页还会显示促销横幅的完整图像:
html,body{
margin:0;
padding:0;
max-width:100%;
height:100%;
background-color:#534f4b;
color:#534f4b;
z-index:-500;
border:0;
}
body{overflow-x: hidden;}
该网站在 Firefox、Chrome 和 Safari 网络浏览器中运行良好(仍在 IE 中测试)。
谢谢!