Results 1 to 6 of 6

Thread: Problem with horizontal CSS Menu

  1. #1
    Join Date
    Dec 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Problem with horizontal CSS Menu

    Hi all,

    I have a problem with the horizontal menu, I make all steps but when my blog display the menu I have the problem of the attach image.

    Anyone knows how can I fix this problem ??

    Best regards,

    Ana Tw.

  2. #2
    Join Date
    Jan 2009
    Location
    NH
    Posts
    675
    Thanks
    98
    Thanked 26 Times in 26 Posts

    Default

    Did you use a horizontal menu from Dynamic Drive? Where is your HTML and CSS code? or a link to your page?

    You probably need to put a z-index into the menu code, but without seeing the code or site it would be impossible to give you the correct answer.

  3. #3
    Join Date
    Dec 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi, this is the code of my menu.

    PHP Code:
    <div id="myslidemenu" class="jqueryslidemenu">
    <
    ul>
    <
    li><a href="http://www.dynamicdrive.com">Item 1</a></li>
    <
    li><a href="#">Item 2</a></li>
    <
    li><a href="#">Folder 1</a>
      <
    ul>
      <
    li><a href="#">Sub Item 1.1</a></li>
      <
    li><a href="#">Sub Item 1.2</a></li>
      <
    li><a href="#">Sub Item 1.3</a></li>
      <
    li><a href="#">Sub Item 1.4</a></li>
      </
    ul>
    </
    li>
    <
    li><a href="#">Item 3</a></li>
    <
    li><a href="#">Folder 2</a>
      <
    ul>
      <
    li><a href="#">Sub Item 2.1</a></li>
      <
    li><a href="#">Folder 2.1</a>
        <
    ul>
        <
    li><a href="#">Sub Item 2.1.1</a></li>
        <
    li><a href="#">Sub Item 2.1.2</a></li>
        <
    li><a href="#">Folder 3.1.1</a>
            <
    ul>
                <
    li><a href="#">Sub Item 3.1.1.1</a></li>
                <
    li><a href="#">Sub Item 3.1.1.2</a></li>
                <
    li><a href="#">Sub Item 3.1.1.3</a></li>
                <
    li><a href="#">Sub Item 3.1.1.4</a></li>
                <
    li><a href="#">Sub Item 3.1.1.5</a></li>
            </
    ul>
        </
    li>
        <
    li><a href="#">Sub Item 2.1.4</a></li>
        </
    ul>
      </
    li>
      </
    ul>
    </
    li>
    <
    li><a href="http://www.dynamicdrive.com/style/">Item 4</a></li>
    </
    ul>
    <
    br style="clear: left" />
    </
    div
    Thanks.

  4. #4
    Join Date
    Dec 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    And this is my css file

    PHP Code:
    .jqueryslidemenu{
    fontbold 12px Verdana;
    background#414141;
    width100%;
    }

    .
    jqueryslidemenu ul{
    margin0;
    padding0;
    list-
    style-typenone;
    }

    /*Top level list items*/
    .jqueryslidemenu ul li{
    positionrelative;
    displayinline;
    floatleft;
    }

    /*Top level menu link items style*/
    .jqueryslidemenu ul li a{
    displayblock;
    background#414141; /*background of tabs (default state)*/
    colorwhite;
    padding8px 10px;
    border-right1px solid #778;
    color#2d2b2b;
    text-decorationnone;
    }

    html .jqueryslidemenu ul li a/*IE6 hack to get sub menu links to behave correctly*/
    displayinline-block;
    }

    .
    jqueryslidemenu ul li a:link, .jqueryslidemenu ul li a:visited{
    colorwhite;
    }

    .
    jqueryslidemenu ul li a:hover{
    backgroundblack/*tab link background during hover state*/
    colorwhite;
    }
        
    /*1st sub level menu*/
    .jqueryslidemenu ul li ul{
    positionabsolute;
    left0;
    displayblock;
    visibilityhidden;
    }

    /*Sub level menu list items (undo style from Top level List Items)*/
    .jqueryslidemenu ul li ul li{
    display: list-item;
    floatnone;
    }

    /*All subsequent sub menu levels vertical offset after 1st level sub menu */
    .jqueryslidemenu ul li ul li ul{
    top0;
    }

    /* Sub level menu links style */
    .jqueryslidemenu ul li ul li a{
    fontnormal 13px Verdana;
    width160px/*width of sub menus*/
    padding5px;
    margin0;
    border-top-width0;
    border-bottom1px solid gray;
    }

    .
    jqueryslidemenuz ul li ul li a:hover/*sub menus hover style*/
    background#eff9ff;
    colorblack;
    }

    /* ######### CSS classes applied to down and right arrow images  ######### */

    .downarrowclass{
    positionabsolute;
    top12px;
    right7px;
    }

    .
    rightarrowclass{
    positionabsolute;
    top6px;
    right5px;


  5. #5
    Join Date
    Nov 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for Sharing your problem here, i got problem on Horizontal menu. I want horizontal menu with different different Background color when i change my <ul> and <li> What i do?

  6. #6
    Join Date
    Dec 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I have yet the problem with the css menu, someone knows how can I fix this problem ??

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
  •