Forum Moderators: not2easy

Message Too Old, No Replies

css menu help

         

slimdiggie

7:31 pm on Feb 23, 2009 (gmt 0)

10+ Year Member



Good Afternoon,
I am working on a CSS menu and am stuck. It is a regular css list menu that pulls the css from a external css file. Once I put this menu on my page, it shows up behind my content. How can I bring the menu to the top level over my content? I have talked with a few people and they said it's done with javascript but, I have no idea on how to do this. Any help would be great.

thank you.

D_Blackwell

3:33 am on Feb 24, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There is nothing in your description that tells me that you need any JavaScript.

it shows up behind my content. How can I bring the menu to the top level over my content?

This sounds more like a conflict in positioning. Is this a simple button arrangement, or do have drop-downs with multiple levels of menu?

I can't offer a fix without code to work with. Strip down the HTML and CSS to the point where what is left is the problem. Don't post five miles of code. Just recreate the problem. This process may enable you to practically fall over the fix. That is often the case. If not, then post the HTML and CSS of the problem so we can see what is happening and figure out why.

BTW - I don't why, but people love to post HTML, and then the CSS, and put notes in the middle. Help me help you. Post test ready code. Plug and play. So few people do that @$%@$%!

tangor

7:17 am on Feb 24, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Inserting the css in a <style> block in the head section is very helpful in our taking a quick look at problems.

slimdiggie

1:14 pm on Feb 24, 2009 (gmt 0)

10+ Year Member



I was looking at the code and I figured out the menu is going behind a table. I cannot replace the table tag with a div tag due to the website already coded all in tables. I tryed a z-index but, that only works in I.E and not FF. Any ideas?