For some reason, IE-8 doesn't display my menu inline. (see picture attached) My code is:
#navigation #main-menu {
display: inline-block;
float: none;
margin: 0 auto;
padding: 0;
position: relative;
text-align: center;
line-height: 18px;
font-size: 12px;
list-style: none;
}
I have found the following post IE8 display inline-block not working. Tried adding the Doctype, as well as added this code:
<!-- [if lt IE 8]>
<style type="text/css">
#navigation #main-menu {
display: inline;
}
</style>
<![endif]-->
Still doesn't work, any advice? you can see a picture with the issue here: http://preciseos.com/PreciseOs/Untitled.jpg
Here is the html code:
<ul style="margin-top:20px;margin-right: 10%;" class="nav-collapse collapse" id="main-menu">
<li class="active"><a href="#page-welcome">Home</a></li>
<li class=""><a href="#page-about">About</a></li>
<li><a href="#page-features">Services</a></li>
<li><a href="#page-work">Work</a></li>
<li><a href="#page-contact">Contact</a></li>
You can also see the issue at www.preciseos.com.
Thanks, Oz