Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6932263
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:41:01+00:00 2026-05-27T11:41:01+00:00

I have an horizontal menu, which have a drop down menu on hover: The

  • 0

I have an horizontal menu, which have a drop down menu on hover:

The HTML structure is like this:

<div id="menu">
    <ul>
        <li><a href="#">Home</a></li>
        <li><a href="#">Lorem</a></li>
        <li><a href="#">Ipsum</a></li>

        <li><!-- DropDown-->
            <a href="#">Drop Down</a>
            <ul>
                <li><a href="#">Dd Item</a></li>
                <li><a href="#">Another One</a></li>
                <li><a href="#">Lalalal</a></li>
                <li><a href="#">Item</a></li>
            </ul><div class="clear"></div>
        </li>

    </ul><div class="clear"></div>
</div>

I am currently trying to round the bottom-left/right with the following CSS:

#menu ul li ul {
-khtml-border-radius-bottomright:8px;
-khtml-border-radius-bottomleft:8px;
-moz-border-radius-bottomright:8px;
-moz-border-radius-bottomleft:8px;
-webkit-border-bottom-right-radius:8px;
-webkit-border-bottom-left-radius:8px;
border-bottom-right-radius:8px;
border-bottom-left-radius:8px;
}

The problem is that the background of my <li> is interfering with the rounded borders of the <ul> and it looks ugly.

I did a jsFiddle so you can see the full code

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T11:41:02+00:00Added an answer on May 27, 2026 at 11:41 am

    The bottom corners of the li are showing outside the ul, because of the border radius on the ul and solid background of the li.

    One way to fix it: Add the selector #menu ul ul li:last-child to your border styles. Use a class name on the last element instead if you want better browser support.

    Demo: http://jsfiddle.net/5MLTu/1/

    Another way: Add the style overflow:hidden to your current border styles for the <ul>.
    Demo: http://jsfiddle.net/5MLTu/2/

    Note: The above method only seems to work in Firefox, so don’t use it 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a horizontal css menu with 5 items. e.g 1) Home 2) Users
I have a ul list that I display as a horizontal menu. I'd like
I have been trying to make the sub-menu horizontal. In my HTML it looks
I have a horizontal navigation menu which I can edit the source of, my
I have a header for the page with horizontal menu navigation like A B
I have nested li, which is for horizontal subnav menu. I am trying to
I have a vertical menu in my system which is basically made of HTML
I have a horizontal menu plugin in which i am adding anchor tag to
I have a simple horizontal menu that uses JQuery to vertically slide down a
I have a simple ul horizontal menu that exists within a div that is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.