Please check this fiddle:
CSS:
div {
background-color:lightgray;
height: 50px;
line-height: 50px;
font-size: 19px;
}
HTML:
<div>
<i class="fa fa-minus"></i>
</div>
and also include font-awesome in the resources:
https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css
direct link: https://jsfiddle.net/xsok4r9n/
if you look carefully you'll see the minus icon is not properly centered vertically... this problem comes up with most of the font awesome icons (and even with some other sets I tried).
Why does this happen? Is there anything I can do to avoid it?
Thanks