Log in

View Full Version : Resolved Gaps between sub-menu items



fralo
05-06-2009, 08:10 PM
Horizontal gaps are appearing between my sub-menu items which I would like to eliminate. It happens both within IE and Firefox, so it seems to be a CSS problem. I could post code if you like.

code was taken from:

http://www.dynamicdrive.com/style/csslibrary/item/jquery_multi_level_css_menu_2/


Thanks a lot.

fralo
05-07-2009, 03:14 PM
I added padding property to my css file and fixed the problem:


/*Top level list items*/
.jqueryslidemenu ul li{
position: relative;
display: inline;
float: left;
padding:2px 6px;
}