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

The Archive Base Latest Questions

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

At some point my floating link list has ended up with an indent, causing

  • 0

At some point my floating link list has ended up with an indent, causing the last link to go onto a new line (or over the side of the div if I set a width for the ul).

I literally don’t know where to start looking for this problem. I’m just going to go ahead and link to the website. Here’s the HTML for that section:

<div id="navigation">
<ul id="navLinks">
    <li><a href="home.html">Home</a></li>


    <li><a href="alston.html">Alston</a></li>


    <li><a href="booking.html">Booking</a></li>

    <li><a href="photos.html" class="lastLink">Photos</a></li>


</ul>
</div>

And here is what I believe is the only CSS affecting it:

#navigation {
   position: relative;
   //width: 210px;
   //height: 600px;
   margin: 2px 0;
   font-size: 90%;
   font-weight: normal;
   clear:both;
   overflow:hidden;
}

//NAVIGATION BAR STUFF
#navLinks {
   list-style-type:none;
   //display:inline;
   margin-left:auto;
   margin-right:auto;
   width: 100%;
   padding:0;
   text-align:center;
   text-decoration: none;
   overflow:hidden;
}

ul#booking {
color:rgb(84, 154, 14);
}

ul#navlinks {
   text-algin: center;
   margin: 0;
   padding: 0;
}

ul#navLinks li { display: inline;
list-style-type: none;
   line-height: 150%;
   margin-right: 10px;
   margin-left: 10px;
   background-color: #fff; }

ul#navLinks li a
{
float: left;
text-align:center;
background-color: #ADF16A;
color: #000000;
text-decoration: none;
border-left: 0px;
border-top: 0;
border-bottom: 0;
border-right: 1px;
border-style: solid;
border-color: #7AE015;
width:161px;
padding:3px 0px;
}

ul#navLinks a:hover
{
   background-color: #CC7A00;
}


ul#navLinks .lastLink{
    border:0;
}
//ul#navLinks a 
//END OF NAVIGATION BAR STUFF

The entire CSS is here

Thanks!

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

    Your #navLinks has some left padding thrown in by browser default (in my cas, -webkit-padding-start: 40px;). If you define padding-left: 0;, that will be overridden.

    You did cover this base in Line 195 of your style1.css, which has ul#navlinks { but that needs to be ul#navLinks {.

    Make sure you’re spell-checking your text-aligns, and capitalizing classes and IDs in your CSS file when they’re capitalized in your CSS file.

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

Sidebar

Related Questions

I'd like to send some double precision floating point numbers over the network. (standard
I think I read somewhere that cpu's do some floating point computations in 50
I did some testing with floating point calculations to minimize the precision loss. I
I want to enter floating point values to some of the record. So if
Today I was tracking down a floating point exception in some code I had
I do some heavy numbercrunching and for me floating-point performance is very important. I
I have to calculate some floating point variables and my colleague suggest me to
Let's say I have some code that does some floating point arithmetic and stores
In Java I need some hint to declare floating point variable that in all
I need to do some floating point arithmetic in Java as shown in the

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.