View Full Version : CSS Button Problem

Mar 25th, 2010, 03:55 AM
Needing help with a CSS button problem. http://www.lilequinelinks.com/sa.html

When I hover on the menu "Australia" all the sub menus display correctly below and inline.

My problem is when I scroll the page down a little bit.

The submenu doesn't appear right under its parent button but shows up further down the page.

I'm sure its simple but its driving me insane.

Please help!!!!

Mar 25th, 2010, 08:40 AM
I think i's this bit:

#tabsB ul ul {
position: fixed;

position:fixed places the elements at a fixed position in the browser window rather than a fixed position on the page itself. You could use absolute which will fix it on the page or position it relative to the parent list item (set the top as the same as the height of the main menu entries plus borders etc.).

Mar 25th, 2010, 10:38 AM
Yes that fixed it, I just swapped fixed for absolute, blimey so simple. Thanks:thumbsup: