I am trying to create a simple webpage with a horizontal list as the navigation, but IE (at least IE7) isn’t accepting my horizontal list or my font colors. I’ve got it as inline, but it’s still not working. Works great in FF, Safari and Chrome.
The website is www DOT familylegacy2010 DOT com
Here is the applicable CSS and HTML:
#nav {
position:relative;
text-align:right;
margin-right: 80px;
margin-top:50px;
list-style: none;
}
#nav li {
display:inline;
}
#nav li a {
padding-left: 25px;
color:#ffffff;
text-decoration: none;
font-variant:small-caps;
font-weight:bold;
}
#nav li a:hover {
color: #000000;
text-decoration: underline;
}
<div id="nav">
<ul>
<li><a href = "http://www.familylegacy2010.com/banquet.html">the banquet</a></li><li><a href = "http://www.familylegacy2010.com/table.html">reserve a table</a></li><li><a href = "http://www.familylegacy2010.com/zambia.html">about zambia</a></li><li><a href = "http://www.familylegacy2010.com/familylegacy.html">about us</a></li><li><a href = "http://www.legacymissions.org">legacymissions.org</a></li></ul></div>