roundmidnight
11-18-2009, 11:02 PM
I have searched, but can't find the solution. I understand enough CSS and html to get me in trouble. I have been modifying a free template and have made good progress. It works great in IE8, but I discovered that the links dont work in Firefox or Safari. That is, the links don't link, and the hovers don't hover. Here is the CSS and HTML that deal with this section. I have validated that they are writen correctly. Neither came back with errors. Any help would be greatly appreciated.
CSS -----
/* navigation */
#navigation {
left:50%;
margin:0 0 0 -61px;
position:absolute;
width:122px;
}
#navigation li {
list-style:none;
}
#navigation li a {
color:#fff;
display:block;
height:50px;
line-height:50px;
text-align:center;
text-decoration:none;
}
#navigation li a:hover {
background:#7e673e;
color:#332407;
}
#navigation li a.active {
background:#7e673e;
color:#332407;
}
HTML ----
<div id="navigation">
<ul>
<li><a href="http://dannyobrien.com/2index.html">Home</a></li>
<li><a href="/bio/bio.html">Bio</a></li>
<li><a href="/sounds/sounds.html">Sights & Sounds</a></li>
<li><a href="/blog/index.html">Blog</a></li>
<li><a href="/links/links.html">links</a></li>
<li><a href="/contact/contact.html">Contact</a></li>
</ul>
</div>
Any ideas?
CSS -----
/* navigation */
#navigation {
left:50%;
margin:0 0 0 -61px;
position:absolute;
width:122px;
}
#navigation li {
list-style:none;
}
#navigation li a {
color:#fff;
display:block;
height:50px;
line-height:50px;
text-align:center;
text-decoration:none;
}
#navigation li a:hover {
background:#7e673e;
color:#332407;
}
#navigation li a.active {
background:#7e673e;
color:#332407;
}
HTML ----
<div id="navigation">
<ul>
<li><a href="http://dannyobrien.com/2index.html">Home</a></li>
<li><a href="/bio/bio.html">Bio</a></li>
<li><a href="/sounds/sounds.html">Sights & Sounds</a></li>
<li><a href="/blog/index.html">Blog</a></li>
<li><a href="/links/links.html">links</a></li>
<li><a href="/contact/contact.html">Contact</a></li>
</ul>
</div>
Any ideas?