DropDown menu problem. Need Help

2 replies
  • WEB DESIGN
  • |
Hi, i have a dropdown menu and i want to have a curve corner at the bottom if the dropdown, i've used image so that it will work on ie7 and 8,

but i cant figure out whats wrong on my codes.

Code:
        #menu{ margin:0px; padding:0px; list-style:none; color:#fff; line-height:45px; display:inline-block ; float:left; z-index:1000; }
        #menu a { color:#fff; text-decoration:none; }
        #menu > li {background:#172322 none repeat scroll 0 0; cursor:pointer; float:left; position:relative;padding:0px 10px;}
        #menu > li a:hover {color:#B0D730;}
        #menu .menu_2 {background:transparent none repeat scroll 0% 0%; padding:0px; background-color:Transparent;}
        /* sub-menus*/
        #menu ul { padding:0px; margin:0px; display:block; display:inline;}
        #menu li ul { position:absolute; right:2px; top:9px; margin-top:45px; width:auto; line-height:16px; background-color:#f7f6f6; color:#404040; z-index:1 !important; /* for IE */ display:none; }
        #menu li:hover ul { display:block;}
        #menu li ul li{ display:block ; margin:5px 20px; padding: 5px 0px;  border-top: dotted 1px #606060; list-style-type:none; }
        #menu li ul li:first-child { border-top: none; }
        #menu li ul li a { display:block; color:#404040; }
        #menu li ul li a:hover { color:#000000; }
        /* main submenu */
        #menu #main { left:0px; top:-20px; padding-top:20px; background-color:#7cb7e3; color:#fff; z-index:999;}
        /* search */
        .searchContainer div { background-color:#fff; display:inline; padding:5px;}
        .searchContainer input[type="text"] {border:none;}
        .searchContainer img { vertical-align:middle;}
        /* corners*/
        #menu .corner_inset_left { position:absolute; top:0px; left:-12px;}
        #menu .corner_inset_right { position:absolute; top:0px; left:150px;}
        #menu .last { background:transparent none repeat scroll 0% 0%; margin:0 auto 0 0; padding:0px; border:none; position:relative; border:none; height:0px; width:100%;}
        #menu .corner_left { position:absolute; left:0px; top:0px; float:left}
        #menu .corner_right { position:absolute;  top:0px; float:right}
        #menu .middle { position:absolute; left:18px; height: 20px; width: auto; top:0px;}
thats my css dropdown menu

the problem is that the .middle class, the image doesnt stretch as full width

thanks
#dropdown #menu #problem
  • Profile picture of the author iuditg
    It would be better if you can give me the site link, this way I can tell you what exactly the problem is. Sometimes their can be an problem with markups to.
    {{ DiscussionBoard.errors[5676055].message }}
    • Profile picture of the author ansokclifford
      Originally Posted by iuditg View Post

      It would be better if you can give me the site link, this way I can tell you what exactly the problem is. Sometimes their can be an problem with markups to.
      here is the link

      adam-sites-for-clients.info/ansokclifford/dropdown-sample/
      {{ DiscussionBoard.errors[5676325].message }}

Trending Topics