I have a following code to display some contact info on my website.
HTML
<div class="contactinfo">
<div class="phoneicon">
<a href=""><img src="../images/phoneicon.png" alt="Phone"></a>
</div>
<div class="navdivide1">
<a href=""><img src="../images/navdivide.png" alt="Email"></a>
</div>
<div class="emailicon">
<a href=""><img src="../images/emailicon.png" alt=""></a>
</div>
</div>
CSS
.contactinfo {
display: flex;
float: right;
position: inherit;
right: 0;
top: 0px;
}
.phoneicon
{
}
.emailicon
{
padding-right: 10px;
}
.navdivide
{
}
It works fine in IE11, but in IE 8 the elements stack one above the other.
I am thinking maybe the "display: flex;" is not supported in IE8?
How can I get these CSS elements to align side by side?
Thanks