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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T12:08:34+00:00 2026-06-14T12:08:34+00:00

I have created CSS menu bar for my webpage. But Left side border is

  • 0

I have created CSS menu bar for my webpage. But Left side border is not displaying when some one move mouse on “My Presentations” link. Currently “My Favorite” link is selected. Please notice Left side gray border is not displaying on “My Favorite” link. But when u move mouse on “Friend’s Favorite” link then right side border in displaying on “My Favorite” link. I need to display left side border to.

Here is the link:-
jsFiddle Link

 <ul class="menu" style="margin-top:20px;">
    <li><a href="#">Home</a></li>
    <li><a href="my-presentations.htm">My Presentations</a></li>
    <li class="current"><a href="myFavorite.htm">My Favorite</a></li>
    <li><a href="#">Friend's Favorite</a></li>
    <li><a href="#">Most Viewed</a></li>
    <li><a href="#">Sync account</a></li>
</ul>

  /* NAVBAR CSS START HERE */     
.menu,.menu ul,.menu li,.menu a {margin: 0;padding: 0;border: none;outline: none;}
.menu {height: 30px;width: 759px;background: #3B5998;border:1px solid #e1e1e1; border-top-left-radius:5px;-moz-border-radius-topleft:5px; border-top-right-radius:5px;-moz-border-radius-topright:5px}
.menu li {position: relative;list-style: none;float: left;display: block;height: 30px;}
.menu ul { display: none;}
.menu li a{display: block;padding: 0 14px;line-height: 30px;text-decoration: none;font-family: Tahoma;font-weight: bold;font-size: 11px;color: #f9f9f9;border-left:1px solid #8698C0;}
.menu li:hover > a{ color: #9a9a9a; background:#fff; border-left:1px solid #ccc;}
.menu li a.first{border-left:0px; background:#ffvv00;}
.menu li.current a{border:0px; height:31px;color: #9a9a9a; background:#fff; margin-top:-3px; padding-top:3px; padding-bottom:4px;border-top-left-radius:5px;-moz-border-radius-topleft:5px; border-top-right-radius:5px;-moz-border-radius-topright:5px;} 
.menu li:first-child a:hover{border-top-left-radius:5px;-moz-border-radius-topleft:5px; border-right:1px #ccc solid; margin-right:-1px;}
.menu li:last-child a{border-right: none; }
  • 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-14T12:08:35+00:00Added an answer on June 14, 2026 at 12:08 pm

    Did many changes to the code, it better to take look at the demo

    New Demo

    Note :
    I am not sure, why you made your active element more taller than other elements, and they have some rounded edge. It looks odd

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

Sidebar

Related Questions

I'm a very beginner in html/css. I have created a one level dropdown menu
I have created a CSS dropdown menu, but when it drops down, it is
I have created a menu using CSS and Javascript. When I click on a
I have created an HTML page which uses simple CSS (no javascript) for menu
I have created a menu with some Jquery effects and it is working well
I have created a CSS fly out menu . Seems to fly out the
I have a CSS vertical menu I have created code is below. (Test page
As it stands i have created a navigation menu using the background-position css property.
I have created a navigation bar that is centered with CSS which works. Each
I have created a Navigation menu in CSS. If a item ( LI )

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.