- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘Design’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi,
Im new with css coding and I am trying to do a dissapearing drop down menu with css.
below is my coding for css & html file. somehow the 2nd list menu is not dissapearing.
I wish to make the 2nd menu not there and when the cursor is hovering on the 1st menu only then it will appear. please help. thank you
I’d start by fixing your HTML…you close the parent li
too soon.
This might help a little….keep at it…you’ll get there.
thank you very much. :)
another question.
why is the 4 main menu not in the same row? did i miss something. I believe this is probably due to the sub menu coding. but im not sure where to tweak.
If you mean the issue where the children ul li elements are not inline and instead are at a diaganol angle change this bit of code from:
#topnav ul li:hover ul li {
display: block;
}
to:
#topnav ul li:hover ul li {
display: inline-block;
}