Results 1 to 2 of 2

Thread: Gaps between sub-menu items

  1. #1
    Join Date
    Apr 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Gaps between sub-menu items

    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/cs...el_css_menu_2/


    Thanks a lot.
    Last edited by Snookerman; 05-07-2009 at 04:12 PM. Reason: added “Resolved” prefix

  2. #2
    Join Date
    Apr 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I added padding property to my css file and fixed the problem:

    Code:
    /*Top level list items*/
    .jqueryslidemenu ul li{
    position: relative;
    display: inline;
    float: left;
    padding:2px 6px;
    }
    Last edited by Snookerman; 05-07-2009 at 04:12 PM. Reason: added [code] tags

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •