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;
}
希望有一个解决方案在那里,但如果我不得不忍受它,那么我不得不忍受它...现在。