0
可能是這個問題問過百次,但我能不能弄清楚什麼我做錯了修復箭頭圖標的位置?
<div id="myNav" class="overlay" style="height: 100%; width: 100%;">
<div class="pdf-navigation">
<a class="navigator previousbtn" href="1">
<span class="glyphicon glyphicon-circle-arrow-left" style="float:left;font-size:30px;color:#eee;margin-top:25%;z-index:3">
</span> </a>
<a class="navigator nextbtn" href="3">
<span class="glyphicon glyphicon-circle-arrow-right" style="float:right;font-size:30px;color:#eee;opacity:1;margin-top:25%;z-index:3">
</span></a>
/// pdf will loaded here in overlay screen
</div>
CSS
.glyphicon-circle-arrow-left {
float: left;
font-size: 30px;
color: #eee;
margin-top: 25%;
z-index: 3;
}
.glyphicon-circle-arrow-right {
float: right;
font-size: 30px;
color: #eee;
opacity: 1;
margin-top: 25%;
z-index: 3;
}
什麼發生的是當我滾動PDF這些導航圖標也滾動我想讓他們固定。我該如何實現這一目標?
我試圖相對於父DIV位置和絕對的兒童跨越...
我試過太多,但右箭頭與左箭頭 –
重疊可以提供的jsfiddle?我沒有訪問glyphicons –
無法創建工作小提琴作爲pdf需要加載 –