我已将此website在Internet Explorer,Firefox和Chrome上正常工作。 但是,当我尝试通过我的手机访问它似乎摆脱了所有的网站布局搞砸了利润如何使滚动网站移动友好?
这就是它在浏览器上的样子(我希望它看起来像电话或带有某种保证金至少是相似的):
这是用我的三星Galaxy查看网站(正如你可以看到它已经去掉了侧边缘)时,我得到的观点:
这里是内容区域(阴影矩形)我的CSS代码:
.content {
width:800px;
height:auto;
margin:6% auto; //I think it is to do with this
position:relative;
background-color:black;
opacity: 0.75;
-moz-border-radius-bottomright: 10px 10px;
border-bottom-right-radius: 10px 10px;
-moz-border-radius-bottomleft: 10px 10px;
border-bottom-left-radius: 10px 10px;
-moz-border-radius-topright: 10px 10px;
border-top-right-radius: 10px 10px;
-moz-border-radius-topleft: 10px 10px;
border-top-left-radius: 10px 10px;
padding:25px;
vertical-align: middle;
}
任何想法如何排序了这一点?我试图将其更改为px,但这使问题更加严重。
+1手机屏幕截图 – user1721135
也许你应该使用jQuery Mobile的这一点。 – Viper
ok欢呼@Viper我会看看! – smj2393