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 7713973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T02:00:25+00:00 2026-06-01T02:00:25+00:00

I really don’t know how to explain what’s going on, so I’ll just show

  • 0

I really don’t know how to explain what’s going on, so I’ll just show some screenshots:

enter image description here

enter image description here

I set the bottom ‘li’ in my webpage to have a border-radius of 20px. I set the ‘li’s to grow when I hover over them. However, as seen in the second picture, part of the background image is ‘leaking’ over into the ‘li’.

ul {
    height: 30px;
    margin: 0; padding: 0;
    position: absolute;
}

ul li {
    line-height: 30px;
    float: left;
    list-style-type: none;
    margin: 0; padding: 0;
    font-size: 18px;
}

ul li a {
    display: block;
    height: 30px;
    padding: 5px 10px;
}

.subnav {
    height: 50px;

    width:105px;
    z-index: 9999;
    top:0px;
    margin-right:60px; padding: 0;
    transition:0.3s 0s;
    -webkit-transition:0.3s 0s;
    -moz-transition:0.3s 0s;
    -o-transition::0.3s 0s;
    opacity:0;
}

.subnav:hover {
    height: 200px;
    opacity:1;
    transition-delay:0;
    -webkit-transition-delay:0;
    -o-transition-delay:0;
    -moz-transition-delay:0;
}

.subnav li {
    clear: left;
    height: 30px;
    z-index: 9999;
    background: #c1c1c1;
    width: 100%;
    height: 25px;
    font-size: 15px;
    line-height: 20px;
    transition:0.3s 0s;
    -webkit-transition:0.3s 0s;
    -moz-transition:0.3s 0s;
    -o-transition::0.3s 0s;


}

.subnav li:hover
{

    -moz-box-shadow:0px 0px 0px 6px #c1c1c1;
    transition-delay:0;
    -webkit-transition-delay:0;
    -o-transition-delay:0;
    -moz-transition-delay:0;
}

.subnav li:first-child {
    clear: none;
    background:transparent;
    font-size:xx-large;
    line-height: 50px;
    border-bottom-left-radius:0px;
    height: 50px;
    margin-right:60px;
    float:left;
    -moz-box-shadow:none;
}

.subnav li:first-child:hover
{

}



.subnav li:last-child
{
    border-bottom-right-radius:5px;
    border-bottom-left-radius:20px;
}

Here’s the relevant HTML:

<div id="item1"><a href="Tutorials.html">Tutorials</a>
                    <li>
                        <ul class='subnav'>
                            <a href="Tutorials.html"><li></li></a>

                            <li style="z-index:5">After Effects</li>
                            <li style="z-index:4">Photoshop</li>
                            <li style="z-index:3">Web design</li>
                            <li>Programming</li>
                            <li>Computers</li>
                        </ul>
                        </li>
                    </div>
                    <a href="Blog.html"><div id="item2">Blog</div></a>
                    <a href="News.html"><div id="item3">News</div></a>
                    <a href="Contact.html"><div id="item4">Contact</div></a>
  • 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-06-01T02:00:27+00:00Added an answer on June 1, 2026 at 2:00 am

    I can’t see any problem. Your images show that the rounded corners behave exactly like you have putted it in your css.

    The “leaking what you decribe is because you set a rounded border over a rounded border with different radi. You must play a bit around with some number to close the gap.

    .subnav li:hover
    {
    
        -moz-box-shadow:1px 0px 0px 6px #c1c1c1;
        transition-delay:0;
        -webkit-transition-delay:0;
        -o-transition-delay:0;
        -moz-transition-delay:0;
    }
    

    Play with the first pixel value in the box-shadow a bit, that might help. You can try to shift it with it 1 or 2 pixel to the right.

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

Sidebar

Related Questions

I really don't know what's going on with my configuration, but I'm just not
I really don't know much about Apache, I followed some tutorials and installed the
I'm stuck on a problem I really don't know how to solve: I have
I...really don't know how to word the title better. But basically, what I have
I have this problem and really don't know how to solve this. I'm having
I really don't know what is going on. It worked the first time, then
I really don't know, why this is so complex and hard just for reading
I really don't know how to explain this error properly... It started when I
I really don't even know where to begin. I was trying to do some
I really don't know what I'm doing with SQL, but I have two tables.

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.