I am attempting to align an icon vertically centered and far right inside a container. I currently have code that achieves this using ::after and table-cell properties. However, the content does not display in Internet Explorer. If I remove the display:table-cell property, the content is visible, but the alignment is incorrect.
.tableWrap
{
display: table;
table-layout: fixed;
width: 100%;
}
.tappable::after
{
font-family: FontAwesome;
display:table-cell;
content: "\f054";
vertical-align: middle;
width: 20px;
font-size: 10px;
color:red;
}
.wrapper
{
display:table-cell;
vertical-align: middle;
}
<div class="tappable tableWrap">
<div class="wrapper">
This method works everywhere except in IE.
</div>
</div>
JSFiddle with HTML/CSS examples
In addition to what is displayed in the JSFiddle link, I have attempted applying overflow:visible to various elements without success (I have seen some other IE issues where this resolved the problem). I am looking for a solution to either fix my current implementation or find a new approach to achieve the same outcome. Please note that the containers can vary in height, so a static offset will not work.