lucass
04-05-2010, 02:20 PM
Hi there,
I have a position conflict in my code which I could not solve. I built a horizontal mouse over menu which works perfectly if alone. The menu uses position:relative in order to correctly display the submenus when someone passes the mouse over it. However, I decided to add to one of my pages a image, that displays a menu once someone passes the mouse over it. As you can imagine, this latter feature also makes use of position:relative in order to correct display the menu.
Separately, they both work fine. The menu works as it should when I use position:absolute for the image - actually they both work fine in this situation, but the image-menu will appear in different positions depending on the user's screen resolution . However, once I use position:relative to the image, the menu simply stops working..
Clearly, there is a conflict between both features. I have no clue about how to solve it.
Does anyone have any idea about what is going on?
Many thanks
I have a position conflict in my code which I could not solve. I built a horizontal mouse over menu which works perfectly if alone. The menu uses position:relative in order to correctly display the submenus when someone passes the mouse over it. However, I decided to add to one of my pages a image, that displays a menu once someone passes the mouse over it. As you can imagine, this latter feature also makes use of position:relative in order to correct display the menu.
Separately, they both work fine. The menu works as it should when I use position:absolute for the image - actually they both work fine in this situation, but the image-menu will appear in different positions depending on the user's screen resolution . However, once I use position:relative to the image, the menu simply stops working..
Clearly, there is a conflict between both features. I have no clue about how to solve it.
Does anyone have any idea about what is going on?
Many thanks