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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:53:06+00:00 2026-06-11T09:53:06+00:00

I am working on a new home page, trying to avoid images as much

  • 0

I am working on a new home page, trying to avoid images as much as possible and I have a slight issue with the borders on the Nav bar. I can’t really think of a way to get the sides of the borders to link into each other with padding. At the moment the sides are not touching so it doesn’t look continuos. I may be missing something obvious but I can’t think of a way to meet them up. Any one have any ideas?

The only way I can think to solve this is with classes on each of the li elements but am wondering if there is an optional way.

Here is a Fiddle for you to check :

http://jsfiddle.net/WZF4M/

  • 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-11T09:53:07+00:00Added an answer on June 11, 2026 at 9:53 am

    You may want to use the following in li styling? A tweak though; not tested in all browsers.

    li{
        display: inline;
        margin-right: -5px; /*Add this*/
        padding: 11px 12px 11px 12px;
        border: solid 1px #c1c1c1;
    }
    

    Option 2:-

    A more elegant solution right here at SO.

    How do I remove extra margin space generated by inline blocks?

    You may have to make changes to your html for this.

    <ul>
        <li>Test</li><li>Apple</li><li>Cat</li><li>Dog</li>
    </ul>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Working on a new app and using restful-authentication. I was trying to make it
I am trying to implement a slide show with slides.js on the home page
So I'm working on a backbone app, and trying to modularize things as much
First let me say that I have been working on this issue for about
I just got a new job working for a website and I am trying
I have this page and I am trying to link to the /our-other-brands page
I am working on a new app and am trying to customize where Devise
I'm currently working on a new website: http://maartenlodewijk.nl/2013/ The light-grey bar on the right
In Git I can do this: 1. Start working on new feature: $ git
Im new to working with Domain Models so forgive me for asking an elementary

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.