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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T10:49:16+00:00 2026-05-31T10:49:16+00:00

I am having trouble with aligning jQuery tags, I’ve used a bit of a

  • 0

I am having trouble with aligning jQuery tags, I’ve used a bit of a code and changed it and styled it myself, however the align seems to be leaving a space on the left, which I don’t want, and I’m not sure how to get rid of it. Here’s what I mean…

http://postimage.org/image/8k5rcz941/

This is the CSS code:

.usual {
  color:#111;
  padding:15px 20px;
  margin:8px auto;
}
.usual li { list-style:none; float:left; }
.usual ul a {
  display:block;
  padding:6px 10px;
  text-decoration:none!important;
  margin:1px;
  margin-left:0;
  font:10pt Verdana;
  color:#FFF;
  background:#444;
}
.usual ul a:hover {
  color:#FFF;
  background:#111;
  }
.usual ul a.selected {
  margin-bottom:0;
  color:#fff;
  background:#003663;
  border-bottom:1px solid snow;
  cursor:default;
  }
.usual div {
  padding:10px 10px 8px 10px;
  *padding-top:3px;
  *margin-top:-15px;
  clear:left;
  background:snow;
  font:8pt Verdana;
  border: 1px solid #d0d0d0;
}
.usual div a { color:#000; font-weight:bold; }

Hope you can help me shift this to the left, I’ve been trying to figure out what it is, and just can’t 🙁

Thanks and regards.

  • 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-31T10:49:17+00:00Added an answer on May 31, 2026 at 10:49 am

    I’m guessing that the ul has a margin or padding applied. Remove it:

    .usual > ul {
        margin: 0;
        padding: 0;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using a Jquery fancydropdown menu for my navigation and am having trouble aligning
Having trouble accessing javascript code in a mixed html/js ajax response. jQuery ajax doc
I'm having some trouble aligning vertically a set of jquery-ui buttons and controls. They
I'm having trouble aligning menu buttons properly. How do I move up a button
I am having some trouble with aligning two div boxes next to each other;.
Having trouble with each function... Will try to explain by example... In my code,
I'm having trouble left aligning a related links div inside a block of text,
I'm having some trouble getting my button text to align correctly in my Android
Having trouble using Powershell to manipulate IP Restrictions on IIsWebVirtualDir (Virtual Directories). However, i
Having trouble getting JQuery to access the parent form field 'inputStart's value when a

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.