By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,648 Members | 1,199 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,648 IT Pros & Developers. It's quick & easy.

Listmatic menu problem

P: 6
I'm trying use this code:

Listmatic 2 Blues Clues

to make a horizontal menu with horizonal submenus, using lists. I got the general code up, but I have two problems.

(1) I don't know why the submenu that goes with the sixth menu item is the one that is visible, instead of the submenu that goes with the first

(2) I don't know how to get the "current" function to work--this sets the text to bold for the menu and submenu that are currently being viewed.

Here is my attempt:

Adept Test

I've poured over this code and tried different things, but cannot resolve the issue. Can anyone see what the trouble is?
Jan 23 '07 #1
Share this Question
Share on Google+
7 Replies

Expert 5K+
P: 7,435
Always check the validator for your html errors and your css errors.
Jan 23 '07 #2

P: 6
Thank you. I have now corrected all the errors that appeared.

Now can anyone help me work out the two issues above?
Jan 23 '07 #3

Expert 5K+
P: 7,435
The sub menu items are there but you have used absolute positioning. AP removes those items from the normal flow. What you are seeing is the last item covering up the previous item and so on. To view them, change position:absolute to float:left to show they are there but that doesn't do you much good.
Jan 23 '07 #4

Expert 5K+
P: 7,435
After studying this a little more, I see that absolute positioning is what he intended to use in the original code to cover up the other sub-menus. I'm starting to think this is a goofy way to go about it but it's too late in the evening for me to want to think that hard. I'll look at this again in the morning.
Jan 23 '07 #5

P: 6
Thanks. I look forward to your input.
Jan 23 '07 #6

P: 6
I figured it out.

OK, I didn't. My 19-year-old daughter did. I called her at college and she sent me the code. But at least I understand what she sent me.

Thanks very much for your help.
Jan 23 '07 #7

Expert 100+
P: 1,892
Please post the fix. We all want to see :)

Jan 23 '07 #8

Post your reply

Sign in to post your reply or Sign up for a free account.