在我的代碼鏈接的默認顏色我有更改
<div class="row-fluid"><div class="span12" style="color:red"><a href="/event/alert/recipient/list/${alertStatusForm.forAlert.id}" class="underline">${fn:length(alertStatusForm.totalNotSentRecipient)}</a></div></div>
仍是其工作不 請建議
在我的代碼鏈接的默認顏色我有更改
<div class="row-fluid"><div class="span12" style="color:red"><a href="/event/alert/recipient/list/${alertStatusForm.forAlert.id}" class="underline">${fn:length(alertStatusForm.totalNotSentRecipient)}</a></div></div>
仍是其工作不 請建議
使用此 .span12 a{ color:#000; }
.span12 a
{
color : #FF0000;
}
.span12 a:visited
{
color: #FF0000;
}
您必須直接應用CSS到<a>
。默認情況下,<a>
元素不會繼承字體顏色。
CSS:
.span12 a{
color: red
}
a:visited{
color: red
}