Getting odd dropdown menu padding

Forums Forums Menus Getting odd dropdown menu padding

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #912
    Mitalis
    Member

    Greetings… I’ve been editing CSS code to make the multi-level navigation dropdowns to have the look & feel of my website. However the I’m having is with some extra padding appearing to the left of my dropdowns..

    Check out the screenshot here:

    http://www.mitalis.com/extra-menu-padding.gif

    The only bit of my own CSS that wraps around the navigation is mainly to display the background image:

    #c_navigator {
    float: left;
    width: 920px;
    background-image: url(images/ws-body-ctr.gif);
    background-repeat: repeat-y;
    padding-right: 25px;
    padding-left: 25px;
    }

    Here is the CSS for the dropdown menu:


    #suckerfishnav {
        background-image: url(images/navigator.jpg);
        background-repeat: no-repeat;
        font-size:14px;
        font-family:"Trebuchet MS", Tahoma, "Arial Narrow";
        font-weight:normal;
        width:750px;
        padding-right: 60px;
        padding-left: 60px;
        }
    #suckerfishnav, #suckerfishnav ul {
        float:left;
        list-style:none;
        line-height:40px;
        margin:0;
        width:960px;
        z-index:1000;
        }
    #suckerfishnav a {
        display:block;
        color:#FFFFFF;
        text-decoration:none;
        padding:0px 10px;
        }
    #suckerfishnav li {
        float:left;
        padding:0;
        }
    #suckerfishnav ul {
        position:absolute;
        left:-999em;
        height:auto;
        width:101px;
        font-weight:normal;
        margin:0;
        line-height:1;
        border:0;
        }
    #suckerfishnav li li {
        width:99px;
        border-bottom:1px solid #666666;
        border-left:1px solid #666666;
        border-right:1px solid #666666;
        font-weight:bold;
        font-family:"Trebuchet MS", Tahoma, "Arial Narrow";
        }
    #suckerfishnav li li a {
        padding:4px 10px;
        width:80px;
        font-size:12px;
        color:#FFFFFF;
        }
    #suckerfishnav li ul ul {
        margin:-21px 0 0 100px;
        }
    #suckerfishnav li li:hover {
        background:#FF9900;
        }
    #suckerfishnav li ul li:hover a, #suckerfishnav li ul li li:hover a, #suckerfishnav li ul li li li:hover a, #suckerfishnav li ul li li li:hover a {
        color:#FFFFFF;
        }
    #suckerfishnav li:hover a, #suckerfishnav li.sfhover a {
        color:#FFFFFF;
        }
    #suckerfishnav li:hover li a, #suckerfishnav li li:hover li a, #suckerfishnav li li li:hover li a, #suckerfishnav li li li li:hover li a {
        color:#FFFFFF;
        }
    #suckerfishnav li:hover ul ul, #suckerfishnav li:hover ul ul ul, #suckerfishnav li:hover ul ul ul ul, #suckerfishnav li.sfhover ul ul, #suckerfishnav li.sfhover ul ul ul, #suckerfishnav li.sfhover ul ul ul ul {
        left:-999em;
        }
    #suckerfishnav li:hover ul, #suckerfishnav li li:hover ul, #suckerfishnav li li li:hover ul, #suckerfishnav li li li li:hover ul, #suckerfishnav li.sfhover ul, #suckerfishnav li li.sfhover ul, #suckerfishnav li li li.sfhover ul, #suckerfishnav li li li li.sfhover ul {
        left:auto;
        background:#CC6600;
        }
    #suckerfishnav li:hover, #suckerfishnav li.sfhover {
        background-image: url(images/navigator_out.jpg); repeat-x;
        }

    Thanks in advance.

    #6633

    We don’t provide free support for customised CSS sorry.

    For help with customised menus, please sign up for our premium support option …. https://geek.hellyer.kiwi/premium_support/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.