Now that I can see it better I see some big problems. You have selectors with their rules (red in the below) inside of other selectors with rules. This produces style that no browser can really understand:
Code:
#dropmenudiv { color: #5f5b56; position: absolute; border-style: solid; border-width: 1px 1px 0; border-color: black; a: link {color: #4A4747 } /* unvisited link */
a:visited {color: #4A4747} /* visited link */
a:hover {color: #4A4747} /* mouse over link */
a:active {color: #4A4747} /* selected link */
background-color: #BDC1BD;
text-decoration: none;
font: 12px monotype cursiva;
line-height:18px;
z-index:100;
}
#dropmenudiv a{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 1px solid black;
padding: 1px 0;
a:link {color: #4A4747} /* unvisited link */
a:visited {color: #4A4747} /* visited link */
a:hover {color: #4A4747} /* mouse over link */
a:active {color: #4A4747} /* selected link */
background-color: #BDC1BD;
text-decoration: none;
font-weight: bold;
}
Try this out, it looks to be what you intended, as far as I can tell:
Code:
<style type="text/css">
#dropmenudiv { color: #5f5b56; position: absolute; border-style: solid; border-width: 1px 1px 0; border-color: black;
background-color: #BDC1BD;
text-decoration: none;
font: 12px monotype cursiva;
line-height:18px;
z-index:100;
}
#dropmenudiv a{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 1px solid black;
padding: 1px 0;
background-color: #BDC1BD;
text-decoration: none;
font-weight: bold;
}
#dropmenudiv a:link {color: #4A4747} /* unvisited link */
#dropmenudiv a:visited {color: #4A4747} /* visited link */
#dropmenudiv a:hover {color: #4A4747} /* mouse over link */
#dropmenudiv a:active {color: #4A4747} /* selected link */
#dropmenudiv a:hover{ /*hover background color*/
background-color: #ffffff;
}
</style>
Bookmarks