You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Pages: 1
Hi guys,
I know CCP6 doesn't support CSS menus but have hard coded a vertical menu into our site using a CSS menu template and it works great.
The problem is:
When I drop the code in to the left column of our 3 column site it looks great. But when you mouse over the menu the hover / flyout appears behind the content on the main column.
Is this because it's in tables? Does anyone know a quick fix?
It's not on our site now as it's live so I had to remove it.
Thanks
Offline
This sounds like a z-index problem.
I guess that you will have used z-index(es) to create your menu, so you may be able to fix the problem by making your middle column have a z-index and by ensuring that the value is set lower than that set for the hover effects in your menu, but not lower than the main menu column.
Last edited by Design_Wholesale (04-25-2010 08:38:12)
Offline
thanks for that.
I seem to be trying in vein with this z-index lark. No z-index change seems to work at all.
were exactly should I change the z-index. Can you take a look at my source code? wwwsushisushi.co.uk
Offline
I have had a look, but could not tell you how to implement correct indexing on the page just by looking at the code. - You need to map out the layout of your site from the point of view of everything being z-index 0 and then build from there.
Any z-index value >= 1 should flow over anything with a z-index of 0, but browsers don't assume that something has a z-index of 0 just because there isn't a z-index value in the CSS for that particular element (table, div, etc.) - if there is no z-index value given for something it will usually prevent something from flowing around/over it, so you need to look at changing or adding a z-index value for those elements adjacent to the menu you want to implement even if those elements would not normally require a z-index.
Also look for articles by wwww3schools.com and through Google. - It can be very awkward and fiddly to get it right.
Last edited by Design_Wholesale (05-01-2010 18:17:50)
Offline
Pages: 1