0
使用HTML5stack並通過PhoneGap Build發送的移動應用程序。在iOS設備上進行測試(4s & 5c)。注意到當我點擊導航到一個新頁面時,我的標題和菜單在加載之間變爲空白,給出的外觀不夠完美。我希望通過將標題和菜單保留在所有頁面的確切位置,它將看起來像標題和菜單留在原地,而其他一切都改變了。我猜有人會告訴我使用像AngularJS這樣的結構化框架,但我不知道它在我正在攀登的這個陡峭的學習曲線上無法騰出更多的時間。也許是下一個項目。如何在瀏覽頁面時使標題和水平菜單一致
我的CSS代碼如下。
#menu {
width: 100%;
position: fixed;
margin: 0px;
padding: 0px;
}
img.headerImg{
width: 100%;
margin-top: 0%;
padding: 0px ;
vertical-align: top;
}
.menu, .table {
position: fixed;
width: 100%;
margin: 0% ;
padding: 0% ;
color: white;
background-color: #1E3B56;
font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
font-size: x-small;
border-bottom-right-radius: 20%;
border-top-left-radius: 5%;
}
.navImg {
width: 25px;
height: 25px;
align-items: center;
position: absolute;
margin: 0px 4px 0px 0px;
padding: 2px 2px 0px 0px;
}
希望有一個解決方案在那裏,但如果我不得不忍受它,那麼我不得不忍受它...現在。