I have some divs where some Awesome Font icons should be displayed by my css:
.listing-item .listing-meta-cat a
{
font-size:14px;
width:30px;
text-align:center;
margin-right:5px;
border-radius:10%;
display:inline;
padding:10px;
}
<div class="listing-meta-cat">
<a class="bgpurpal-1" href="javascript:void()">
<i class="fa fa-graduation-cap white"></i>
</a>
<a class="bgyallow-2" href="javascript:void()">
<i class="fa fa-child white"></i>
</a>
</div>
The link classes are just about colors. What happens is that the div's measurements are not getting perfect, it's like in the image: