Results 1 to 3 of 3

Thread: Menu Spacing

  1. #1
    Join Date
    May 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Menu Spacing

    Hi I am testing out a new menu located at
    http://djshawnmichaels.com/testmenu/

    Please notice the extra space on the far right end, is there a way go make that flush with the page?

    HTML Code:
    #chromemenu{
    width: 768px;
    }
    
    #chromemenu:after{ /*Add margin between menu and rest of content in Firefox*/
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
    }
    
    #chromemenu ul{
    border: 1px solid #BBB;
    width: 100%;
    background: url(chromebg.gif) center center repeat-x; /*Theme Change here*/
    margin-left: 0;
    padding-left: 0;
    margin: 0;
    margin-right: 0;
    padding-right: 0;
    float: left;
    font: bold 12px Verdana;
    }
    
    
    #chromemenu ul li{
    display: inline;
    }
    
    
    #chromemenu ul li a{
    float: left;
    color: #7F7F7F;
    font-weight: bold;
    padding: 6px 12px 6px 12px;
    text-decoration: none;
    background: url(divider.gif) center right no-repeat; /*Theme Change here*/
    }
    
    #chromemenulast ul li a{
    float: left;
    color: #7F7F7F;
    font-weight: bold;
    padding: 6px 12px 6px 12px;
    text-decoration: none;
    background: url(divider.gif) center right no-repeat; /*Theme Change here*/
    }
    
    #chromemenu ul li a:hover{
    color: #494949;
    }
    
    #chromemenu ul li a[onMouseover]:after{ /*HTML to indicate drop down link*/
    content: " v";
    /*content: " " url(downimage.gif); /*uncomment this line to use an image instead*/
    }
    
    /* ######### Style for Drop Down Menu ######### */
    
    .dropmenudiv{
    position:absolute;
    top: 0;
    border: 1px solid #BBB; /*Theme Change here*/
    border-bottom-width: 0;
    font:normal 12px Verdana;
    line-height:18px;
    z-index:100;
    background-color: white;
    width: 200px;
    visibility: hidden;
    filter: progid:DXImageTransform.Microsoft.Shadow(color=#CACACA,direction=135,strength=4); /*Add Shadow in IE. Remove if desired*/
    }
    
    .dropmenudiv a{
    width: 100%;
    display: block;
    text-indent: 3px;
    border-bottom: 1px solid #BBB; /*Theme Change here*/
    padding: 2px 0;
    text-decoration: none;
    font-weight: bold;
    color: black;
    }
    
    .dropmenudiv a:hover{ /*Theme Change here*/
    background-color: #F0F0F0;
    }

  2. #2
    Join Date
    May 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    So you know I have tried tampering with this line: padding: 6px 12px 6px 12px; in the #chromemenu ul li a{ section.

  3. #3
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.

    What you actually want to do is remove the divider image for the very last menu item. In your HTML, locate the line:

    Code:
    <li><a href="http://www.djshawnmichaels.com/maillist.php" style="background-image: none" >Mailing List&nbsp;</a></li>
    That should do it.

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
  •