I have a list of navigation links on the left top side of my page that I have styled to have a background effect and a text color change effect. These effects work in Safari and Firefox but of course when I try it in Mac IE 5 there is no hover effect. The website links on my page that I have applied hover effects to, text-decoration: none & color: red, work in Mac IE 5. Why do the website link hover effects work but not the navigation hover effects in my navigation bar? Thanks a lot for the help.
#navigation {
position: fixed;
width: 11em;
height: 100%;
border: 0;
margin: 0;
padding-top: 5em;
background-color:#333300;
list-style-type: none;
}
#navigation h1 {
padding-left: 0.25em;
color:#ffcc33;
font-size: 0.85em;
font-family: helvetica;
}
#navigation a {
font-size: 0.70em;
font-family: Trebuchet MS, verdana, geneva, sans-serif;
color: red;
display: block;
text-decoration: none;
padding-left: 0.50em;
border-bottom: solid black 1px;
}
#navigation a:hover {
color: black;
background-color:#ffcc33;
}
<div id=”navigation”>
<h1>General Sites</h1>
<a href=”#category1″>category2</a>
<a href=”#category3″>category3</a>
<a href=”#category4″>category4</a>
<a href=”#category5″>category5</a>
<a href=”#category6″>category6</a>
<a href=”#category7″>category7</a>
<a href=”#category8″>category8</a>
<h1>Specific Sites</h1>
<a href=”#category1″>category2</a>
<a href=”#category3″>category3</a>
<a href=”#category4″>category4</a>
<a href=”#category5″>category5</a>
<a href=”#category6″>category6</a>
<a href=”#category7″>category7</a>
<a href=”#category8″>category8</a>
</div>