drop down menu

Discussion in 'CSS' started by drew68, Feb 25, 2014.

  1. #1
    can you guys go here and hover over the Property Search link and you'll notice, the 2nd drop down has no background …the first one does. http://demourajeff.wp.hobbsherder.com

    can someone tell me what's up with this?

    here's my css…

    /* ------------------------ DROPDOWN MENU ------------------------ */
    nav ul ul {
    display: none;
    }

    nav ul li:hover > ul {
    display: block;
    }

    nav ul {
    background: #891a1c;
    padding: 0 0;
    list-style: none;
    position: relative;
    display: inline-table;
    height:42px;
    }
    nav ul:after {
    content: ""; clear: both; display: block;
    }

    nav ul li {
    float: left;
    }
    nav ul li:hover {
    background: #891a1c;
    }
    nav ul li:hover a {
    color: #fff;
    }

    nav ul li a {
    display: block; padding: 8px 11px;
    color: #891a1c; text-decoration: none;
    }

    nav ul ul {
    background: #891a1c; border-radius: 0px; padding: 0;
    position: absolute; top: 100%;
    }
    nav ul ul li {
    float: none;
    border-top: 1px solid #fff;
    border-bottom: 0 solid #fff;
    position: relative;
    }
    nav ul ul li a {
    padding: 10px 10px;
    color: #fff;
    }
    nav ul ul li a:hover {
    background: #891a1c;
    margin:0 auto;
    }

    /* ------------------------ END DROPDOWN MENU ------------------------ */
     
    drew68, Feb 25, 2014 IP
  2. saikatkhulna

    saikatkhulna Member

    Messages:
    15
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    33
    #2
    Hi,
    in your second dropdown menu have no background color.
    try this
    nav ul ul li {
    background: #891a1c;
    }
    Code (markup):
    I think it will help you.
     
    saikatkhulna, Feb 26, 2014 IP
  3. salmanshafiq

    salmanshafiq Well-Known Member

    Messages:
    260
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    128
    #3
    I think it's fixed now it has the background ....
     
    salmanshafiq, Mar 19, 2014 IP