我希望favicon位于中心,但它的价格会低一些? a href属性是为了添加一个链接到图标,通过删除它,图标变为正常状态,但所有这些代码是相同的? img of the issue
<div class="col-md-3 col-sm-6">
<div class="panel panel-default text-center">
<div class="panel-heading">
<span class="fa-stack fa-5x">
<a href="pensionr.html"<i class="fa fa-square fa-stack-2x text-primary" style=color:rgb(128,0,0);></i> <!--Blue Circle -->
<i class="fa fa-stack-overflow fa-stack-1x fa-inverse"></i></a> <!--Icon inside -->
</span>
</div>
<div class="panel-body">
<h4>Pension Review</h4>
</div>
</div>
</div>**strong text**
答案 0 :(得分:2)
更改此行:
<a href="pensionr.html"<i class="fa fa-square fa-stack-2x text-primary" style=color:rgb(128,0,0);></i> <!--Blue Circle -->
有了这个:
<a href="pensionr.html"><i class="fa fa-square fa-stack-2x text-primary" style=color:rgb(128,0,0);></i> <!--Blue Circle -->
因为你错过了&gt;在pensionr.html&#34;
之后