2015-05-23 28 views
2

我一直在嘗試做一個自定義的tumblr主題,但每當我把一個鏈接在一個具有位置的div:固定,鏈接變得無法點擊,並被視爲正常文本。鏈接將無法正常工作時使用的位置:固定在tumblr

這是該鏈接不工作:

<div id="sidebar"><center> 
    <p id="avap"> 
    <br><b>EARTH-BEETLE</b> 
    <br><a href="earth-beetle.tumblr.com"><img src="{PortraitURL-64}" /></a> 
    </p> 
     <a href="http://chickensmoothie.com">test link</a> 
    </center></div> 
</div> 

的CSS:

#sidebar { 
    background-color: white; 
    width: 300px; 
    height: 300px; 
    position: fixed; 
    top: 150px; 
    left: 35px; 
    border-style: solid; 
    border-width: 2px; 
    } 
#tagp { 
    background-color: #87DEBE; 
    border-style: solid; 
    border-width: 2px; 
    position: fixed; 
    top: 490px; 
    left: 35px; 
    border-color: #208560; 
    width: 250px; 
    height: 50px; 
} 
#avap { 
    background-color: #87DEBE; 
    width: 300px; 
    height: 150px; 
} 
+0

工作正常。您需要發佈完整的代碼。 –

+1

我的猜測是容器在另一個後面:嘗試增加z-index –

回答

0

改變的z-index至5的工作,謝謝!