When I'm trying to click a link that is positioned to the bottom of the screen in a colored div using postion:fixed;
the page flashes white for a second before displaying the "new" page. If I remove the fixed positioning the new page is loaded without completely erasing the page first and everything works fine. The white flash looks like the page is first completely erased and after that the fixed element is placed on top of it.
Is this problem pure CSS related or is it caused by Phonegap or Bootstrap? And are there any solutions?
This is the code I'm using:
Html:
<div class="container-fluid">
<div id="navbar" class="row">
<div class="col-xs-3">
<a href="lineup.html"><span class="glyphicon glyphicon-time"></span></a>
</div>
<div class="col-xs-3">
<a href="index.html"><span class="glyphicon glyphicon-th-list selected"></span></a>
</div>
<div class="col-xs-3">
<a href="map.html"><span class="glyphicon glyphicon-map-marker"></span></a>
</div>
<div class="col-xs-3">
<a href="faq.html"><span class="glyphicon glyphicon-question-sign"></span></a>
</div>
</div>
</div>
css:
#navbar {
position: fixed;
bottom: 0px;
width: 100%;
background-color: #312783;
color: #FFF;
text-align: center;
}
#navbar a {
text-decoration: none;
color: #fff;
font-size: 1.4em;
}
#navbar a span {
padding-top: 25%;
padding-bottom: 25%;
}
#navbar .selected {
color: #bc3148;
}