Results 1 to 3 of 3

Thread: jQuery Multi Level CSS Menu #2 display error

  1. #1
    Join Date
    Mar 2009
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Unhappy jQuery Multi Level CSS Menu #2 display error

    Recently I made a page using jQuery Multi Level CSS Menu #2 from http://www.dynamicdrive.com/style/cs...el_css_menu_2/. I did as described there. My menue looks fine "menue.JPG".But instead of the result in "menue hover 2.JPG", I got a line break when hovering over the to-elapse menue entry "menue hover.JPG".
    The only thing other than in the described HTML-section is an additional <div id="menue"> tag around the <div id="myslidemenu" class="jqueryslidemenu"> tag. The css is:
    [CODE]
    #menue {
    background: #17a;
    padding: 5px;
    font: normal 0.8em Verdana, sans-serif;
    }
    #menue li {
    font-weight:bold;
    display: inline;
    }
    #menue a {
    text-decoration: none;
    margin: 5px;
    color: white;
    background: #39c;
    border-width: 1px;
    border-style: solid;
    border-color: #5bd #035 #068 #6cf;
    border-left: 10px solid #fc0;
    }
    #menue a:hover {
    text-decoration: none;
    margin: 5px;
    color: white;
    background: #3366FF;
    border-width: 1px;
    border-style: solid;
    border-color: #5bd #035 #068 #6cf;
    border-left: 10px solid #fc0;
    }
    [CODE]
    So what's wrong?

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Try this instead:
    Code:
    #menue {
    background: #17a;
    padding: 5px;
    font: normal 0.8em Verdana, sans-serif;
    }
    #menue li {
    font-weight:bold;
    display: inline;
    }
    #menue a {
    text-decoration: none;
    margin: 5px;
    color: white;
    background: #39c;
    border-width: 1px;
    border-style: solid;
    border-color: #5bd #035 #068 #6cf;
    border-left: 10px solid #fc0;
    }
    #menue a:hover {
    background: #36f;
    }
    If you want more help, please post a link to your site.

    Good luck!

  3. The Following User Says Thank You to Snookerman For This Useful Post:

    Rainer (03-14-2009)

  4. #3
    Join Date
    Mar 2009
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Talking

    I found the error. I made a spelling error concerning the used css-file.

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
  •