我已將此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