我使用兩個不同的a:link/a:visited/a:hover標記..但.panel中的鏈接接管a:link/a:從.footer只有從.panel右邊懸停:。錯誤a:正在使用的鏈接標記(Chrome)
HTML
<div class="panel" id="tab4"><b><a href="#" target="_blank">Title</a> – Name</b>
CSS
.panel a:link, a:visited {
color:#333;
text-decoration:none;}
.panel a:hover {
color:#000;
text-decoration:none;
border-bottom:1px solid #000;}
.footer a:link, a:visited {
color:#fff;
text-decoration:none;
opacity:0.8;
filter:alpha(opacity=80); /* For IE8 and earlier */}
.footer a:hover {
color:#fff;
text-decoration:none;
border-bottom:1px solid #fff;
opacity:1.0;
filter:alpha(opacity=100); /* For IE8 and earlier */}