2014-01-24 28 views
0

我試圖將Fotorama上的左右箭頭對齊到頂端,我已經設法在Chrome,Firefox等中執行它,但它在所有版本的IE中都是垂直居中的。知道的(不是知識淵博的JS),我似乎無法做到這一點:(Fotorama在所有瀏覽器的頂部對齊箭頭?在IE中不工作:(

我已經包含下面的CSS我editted是否有幫助呢?

.fotorama__arr { 
    display: block; 
    position: absolute; 
    font-family: sans-serif; 
    width: 44px; 
    text-align: center; 
    z-index: 10; 
    color: white; 
    opacity:1; 
    -webkit-transition-property: opacity, margin; 
    -moz-transition-property: opacity, margin; 
    -o-transition-property: opacity, margin; 
    transition-property: opacity margin; 
    font-size: 30px; 
    top: 6px; 
    text-shadow: black 0 0 5px; 
    cursor: pointer; 
    font-style: normal!important; 
    -webkit-tap-highlight-color: rgba(255,255,255,0.15) 
} 

非常感謝 喬

回答

相關問題