First, the javascript stuff needs to stay on the page, not in the CSS.
Second remove the <style> tags from your css, and replace all the "#" with "."
your css should look something like:
Code:
.popitmenu{
position: absolute;
background-color: FFFFDD;
border:1px solid black;
font: normal 14px Arial ;
line-height: 15px;
z-index: 100;
visibility: hidden;
}
.popitmenu a{
text-decoration: underline;
padding-left: 6px;
color: #800000;
display: block;
}
.popitmenu a:hover{ /*hover background color*/
background-color: #CCFF99;
}
Start with that then read the links provided in here for a better understanding of what is going on and what you should and shouldn't put in the css file
Bookmarks