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

  • Home
  • SEARCH
  • 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 7048575
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:54:30+00:00 2026-05-28T02:54:30+00:00

How can I get rid of the horizontal borders that divide each menu item

  • 0

How can I get rid of the horizontal borders that divide each menu item per the following example but maintain the overall outer border of the active menu:

http://jsfiddle.net/tdJnS/

Something like this:

enter image description here

  • 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-28T02:54:31+00:00Added an answer on May 28, 2026 at 2:54 am

    Remove border-top from the li -> a.

    See DEMO here

    CSS changes below,

    ul#navmenu-h li:hover li a,
    ul#navmenu-h li.iehover li a {
     /*border-top: 1px solid #EEEEEE;*/  <-- Commented
    ...
    ...
    

    and

    ul#navmenu-h li:hover a,
    ul#navmenu-h li.iehover a
    {
     /*border-top: 1px solid #EEEEEE;*/  <-- Commented
     ...
     ...
    

    Edit:

    It should work if you add a border to ul and remove the margin-left: -1 and margin-top: -1 from the li > a.

    Also Please note that removing margin’s would give a different feel from what you had before.

    DEMO here

    /*newly added - Change to any color to #EEEEEE if that is what you want */
    ul#navmenu-h ul    
    {
       border: 1px solid black;
    }
    

    and Commented below,

    ul#navmenu-h li:hover li a,
    ul#navmenu-h li.iehover li a {
     /*border-top: 1px solid #EEEEEE;
     border-right: 1px solid #EEEEEE;
     border-left: 1px solid #EEEEEE;
     border-bottom: 1px solid #EEEEEE;
      margin-left: -1px; */
    
    
    ul#navmenu-h li:hover a,
    ul#navmenu-h li.iehover a
    {
     /*border-top: 1px solid #EEEEEE;*/
     /*margin-top: -1px;*/
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What is this options menu button and how I can get rid of it?
Any idea how i can get rid of the three dots that appear on
I can't manage to get rid of this unwanted horizontal scrolling space at the
Does anyone know how I can get rid of the following assembler warning? Code
I'm looking to get rid of the horizontal scrollbar that appears when the browser
Can optimizers get rid of bad uses of spatial locality? I'm maintaining some code
How can I get rid of HTML tags in a Smarty block? I've tried
I can't get rid of compiler warning when I define property inside protocol. Strange
How can i get rid of trailing spaces in preg_split result without using preg_replace
I have a pretty nasty error I can't get rid of. Here's the function

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.