PDA

View Full Version : How to position a layer?


bostjank
01-06-2003, 10:54 PM
Hi!

I have a web page with a simple navigation bar. When a user moves a mouse over a picture in navigation bar, a layer appears with "deeper" links. But I have a problem - how to position the layer, so that it appears directly bellow the picture? I tried:
style="position:absolute; left:230; top:138; width:116; height:120; ...but it doesnt work, because my page (table) is centered in a browser, so that the left coordinate varies, depending on the size of browser's window.

I was also experimentig with: position:relative...but had no success.

What would you recomend?

Thanks,
Bostjan