Building the menu over a jpeg

I’m trying to build 4 menu selections over a menu but even with z-index, the position relative doesn’t seem to work and position z-index: absolute slides about when the window is resized.

Can anyone spot my logic error?

#menu1 {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:30px;
color:#65665c;
position:relative;
display:block;
z-index:99;
top: -185px;
left: 60px;
}

#menu2 {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:30px;
color:#65665c;
position:relative;
z-index:99;
left: 328px;
}

Thanks

Hi, it depends on the menu z-index (I assume the CSS you posted was part of the menu selections and not part of the actual menu)

There are many factors to weigh in and all would be guesses unless we have full HTML/CSS to look at (or a much more preferable option-a link :))