2013-07-31 29 views
0

這個內部邊框透明只適用於單頁或jsfiddle, 但我的網站不工作,我的代碼有什麼問題? 任何人都可以幫助PLZ ...css內部邊框透明在我的網站不工作,

上jsfiddle工作良好。

DEMO

,但我的網站的照片沒有顯示:(

enter image description here

+2

把你的網站的照片的鏈接看到差異 –

+0

測試服務器 http://salma-test.site90.net/ –

回答

0

我加入z-indexposition: relative.item類是這樣的:

.item { 
    width: 21%; 
    float: left; 
    display: block; 
    margin: 20px 2%; 
    padding: 0px; 
    cursor: pointer; 

    /* Code added */ 
    position: relative; 
    z-index: 0; 
} 
+0

工作,但現在淡入淡出不起作用。 –

+0

如果您在網站(測試服務器) –

+0

也ie8未加載照片的位置不正確,我無法檢測到淡入效果中的問題。 –