Add top: 0; left: 0; two places (as Highlighted below for .anylinkmenu and .anylinkshadow):
Code:
.selectedanchor{ /*CSS class that gets added to the currently selected anchor link (assuming it's a text link)*/
background: transparent; /*set to nav button color*/
}
/** next line fixes overlay problem in Chrome and Safari **/
.menuanchorclass {
display: block;
}
/* ######### Default class for drop down menus ######### */
.anylinkmenu{
position: absolute;
top: 0;
left: 0;
margin-left: 10px;
margin-top: -12px;
visibility: hidden;
border: 1px solid #4d4429;
border-bottom-width: 1;
font: normal 12px verdana,helvetica,arial,sans-serif;
line-height: 12px;
z-index: 100; /* zIndex should be greater than that of shadow's below */
background: #bac97b;
width: 170px; /* default width for menu */
}
.anylinkmenu ul{
margin: 0px;
padding: 0px;
list-style-type: none;
}
.anylinkmenu ul li a{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 0px solid #4d4429;
padding: 2px 2px;
background: #bac97b;
text-decoration: none;
font-weight: normal;
text-indent: 5px;
color: black; /*set the a.link color*/
}
.anylinkmenu a:hover{ /*hover background color*/
background: transparent;
color: white;
}
/* ######### Alternate multi-column class for drop down menus ######### */
.anylinkmenucols{
position: absolute;
width: 350px;
left: 0;
top: 0;
visibility: hidden;
border: 1px solid black;
padding: 10px;
font: normal 12px Verdana;
z-index: 100; /*zIndex should be greater than that of shadow's below*/
background: #E9E9E9;
}
.anylinkmenucols li{
padding-bottom: 3px;
}
.anylinkmenucols .column{
float: left;
padding: 3px 8px;
margin-right: 5px;
background: #E0E0E0;
}
.anylinkmenucols .column ul{
margin: 0;
padding: 0;
list-style-type: none;
}
/* ######### class for shadow DIV ######### */
.anylinkshadow{ /*CSS for shadow. Keep this as is */
position: absolute;
top: 0;
left: 0;
pargin-left: 10px;
margin-top: -12px;
z-index: 99; /*zIndex for shadow*/
background: black;
visibility: hidden;
}
Bookmarks