horizontal in horizontal top menu bar
-
Hi,
I’ve created in my blog a ‘horizontal in horizontal’ top menu bar that list the categories and subcategories and pages and their subpages. It auto-hide the subitems and show them when you mouse-over them. The only problem I have is that when the subitems are displayed, the rest of the page is pushed down. What I would like is to preserve the space where the subitems are displayed so when they appear, the rest of the page is not pushed down.
This is the css I use:
/*-----------------------------------------------------------------------------------------------
Menu horizontal
-----------------------------------------------------------------------------------------------*/
#navmenu ul {margin: 0; padding: 0;
list-style-type: none; list-style-image: none; text-align: right;}
#navmenu li {display: inline;}
#navmenu a {text-decoration:none;}#navmenu li ul {
display: none;
}
#navmenu li:hover > ul {
display: block;
}And the html in header:
<div id="navmenu"></div>
Any help/tip will be appretiated.
- The topic ‘horizontal in horizontal top menu bar’ is closed to new replies.