除了通过内联样式之外,我无法让下面的“查看个人资料”链接显示为蓝色。请帮助或建议。谢谢
编码:
.view_profile, .view_profile a {
font-style: Georgia;
font-size: 1.125em;
color: #0B88B5;
text-align: center;
font-weight: bold;
}
.view_profile a {
color: #0B88B5;
}
<div class="grid-5 profile_container">
<a href="damon_r.html">
<img src="images/damon_head.jpeg" class="profileimgsml" alt="Damon" />
<div class="our_peopletxt">
<div class="ourpeople_name">Damon</div>
<p class="dotted_row"> ------ </p>
<div class="ourpeople_designation">Office manager</div>
<div class="ourpeople_details">
<div class="contact_details_label">m:</div><a href="tel:9999999"> 99 9999 999 </a><br>
<div class="contact_details_label">e:</div><a href="mailto:damon@damon.com"> damon@damon.com</a><br>
<p class="dotted_row"> ------ </p>
<div class="view_profile"><a href="damon.html" style="color:#0B88B5;">View Profile</a></div>
</div>
</div>
</a>
</div>