我的网站用于测试目的: http://www.splithorizont.com/itc/web1.html
在IE浏览器中,我的网站链接功能齐全,但在其他浏览器中,当我点击一个链接时,网页上的所有链接都会成为访问链接。
Here is CSS:
@charset "utf-8";
.css {
}
html, body {
background-color:#d8e9f6;
text-align:center;
margin:0 auto;
width: 800px;
}
a.nav2:link { color: #FFFFFF; font-size: 20px; text-decoration: none;}
a.nav2:visited { color: #EA5421;}
a.nav2:hover { color: #EA5421; text-decoration: underline; }
a.nav2:active {color: #EA5421; text-decoration: underline;}
a.nav1:link { font-size: 16px; color: #EA5421; }
a.nav1:visited { color: #EA5421; }
a.nav1:hover {color: #EA5421; }
a.nav1:active {color: #EA5421; }
#center {width: 800px; margin:0 auto; }
#menu1 {width:792px;
}
#nav_text {width:590px; height:210px; background-color:#f39e81; float:left; margin:8px;
-moz-border-radius-bottomleft: 10px;
border-bottom-left-radius: 10px;
-moz-border-radius-topright: 10px;
border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
border-top-left-radius: 10px;
-moz-border-radius-bottomright: 10px;
border-bottom-right-radius: 10px;
}
#nav_text2 {width:590px; height:210px; background-color:#509aca; float:left; margin:8px;
-moz-border-radius-bottomleft: 10px;
border-bottom-left-radius: 10px;
-moz-border-radius-topright: 10px;
border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
border-top-left-radius: 10px;
-moz-border-radius-bottomright: 10px;
border-bottom-right-radius: 10px;
}
#nav_desno {width:170px; height:700px; background-color:#c0e3fd; float:right ; margin:8px;
-moz-border-radius-bottomleft: 10px;
border-bottom-left-radius: 10px;
-moz-border-radius-topright: 10px;
border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
border-top-left-radius: 10px;
-moz-border-radius-bottomright: 10px;
border-bottom-right-radius: 10px;
}
#razmak {width:800px; height:875px; float:left; background-image: url(slike/pozadina.jpg);}
.wrapper_menu {background-color:#1d6594; margin:8px; width:780px; text-align:center
-moz-border-radius-bottomleft: 10px;
border-bottom-left-radius: 10px;
-moz-border-radius-topright: 10px;
border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
border-top-left-radius: 10px;
-moz-border-radius-bottomright: 10px;
border-bottom-right-radius: 10px;}
.nav ul {
list-style-type: none;
text-align: center;
}
.nav ul li {
display: inline;
}
h4 {
font-size: 14px;
color: #333333;
text-decoration:none
}
h1,h2,h3,h4,h5,h6 {
font-family: Times New Roman, Times, serif;
}
答案 0 :(得分:2)
如果您只点击一个链接,所有链接都获得访问状态的原因是,所有链接都转到同一地址:“#”。