2013-11-09 42 views
0

我嘗試了我所知道的一切,但我無法找到爲什麼在IE和Firefox上標識下方的鏈接(「下次會議或活動」)根本不起作用。這裏是我的CSS:css徽標鏈接無法在IE或Firefox上工作

/*logo*/ 
.nav-logo { 
float:left; 
width: 260px; 
margin-left: .2em; 
z-index: 1;} 

.nav-logo top { 
float:left; 
width: 250px; 
cursor: pointer;} 

.event { 
float:left; 
margin-left: 0; 
margin-top:-8px; 
cursor: pointer; 
clear: both;} 


/* Nav width setting*/ 
.nav-hold { 
width: 98%; 
max-width: 1000px; 
margin: 0 auto;} 

/* NAVIGATION */ 
.nav-bar { 
width: 100%; 
height: 80px; 
background-image:url(../images/bg-menu80.jpg);} 

.nav-hold { 
overflow:hidden;} 

.nav-list { 
float: right; 
list-style: none;} 

.nav-list li { 
float: left; 
width: auto; 
position: relative;} 

.nav-list li a { 
text-decoration: none; 
display:block; 
padding: 30px 7px 28px 7px; 
color: #f9f9f9; 
font-size: .9em; 
font-weight: bold;} 

.nav-list li ul { 
display: none; 
list-style: none; 
position: absolute; 
margin: 0; 
padding: 0; 
width: 70px;} 

.nav-list li ul li { 
margin: 0; 
padding: 0;} 

.nav-list li:hover ul { 
display: block;} 

.nav-list li a:hover li { 
float: left;} 

.nav-list li:hover li a { 
background-color: #333; 
border-bottom: 1px solid #fff; 
color: #FFF; 
height:50px; 
width:150px;} 

.nav-list li a:hover { 
text-decoration: none; 
display: block; 
padding: 30px 7px 28px 7px; 
color: #000; 
font-size: .9em; 
font-weight: bold; 
background-color: #e7e4e4;} 

我希望我在這裏正確輸入代碼,請你可以在這裏看到的頁面: http://www.vosgrafica.com/LIEG/index.html

感謝所有,我真的很感激!

回答

1

<div id="sidebar">位於鏈接的前面。將其z-索引更改爲較低的值。

+0

嗨克里斯汀,謝謝你!我嘗試了你的建議,導航出現時沒有背景圖片和標識錯誤的位置......任何其他想法?再次感謝你! –

+0

你好Rigo。對不起,我不知道你的意思是「錯誤的位置」。它看起來適合我,現在你的鏈接也能正常工作。 – Christine