I have a CSS menu with an image divider, but for some reason the last one after the contact button won't display..
<div id="menu">
<ul>
<li><a href="index.html"><span class="used">Home</span></a></li>
<li><a href="services.html">Services</a></li>
<li><a href="contect.html">Contact</a></li>
<img src="img/divider.png" alt="" style="margin-left: auto; margin-right: auto;" />
</ul>
</div>
This is my menu setup (the 'divider.png' image placement below the menu), and here is my corresponding CSS.
.header #menu {
word-spacing: 60px;
font: 17px 'Source Sans Pro', sans-serif;
font-weight: 400;
color: #333;
margin: 40px auto 0 auto;
width: 1024px;
overflow: hidden;
}
ul {
list-style: none;
display: block;
text-align: center;
}
li {
list-style: none;
width: 239px;
height: 69px;
display: inline-block;
vertical-align: baseline;
overflow: hidden;
background: url(../img/nav-divider.png) no-repeat 0 100%;
}
The background image serves as the divider and works for all list items except after the contact item. Any insights on why it's not showing up would be greatly appreciated! It's been quite frustrating for me.
Thank you!