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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:18:54+00:00 2026-06-17T16:18:54+00:00

I am trying to left align my logo and right align my navigation. I

  • 0

I am trying to left align my logo and right align my navigation. I am using the “skeleton” boilerplate for a responsive page.

The logo and nav wont stay on the same “line” when I float my Nav right. I removed the float right rule from the CSS before adding it to this example.

Here is some of the CSS I’m using and where i think the problem my be and the rest is listed here

.nav {
margin: 0px;
padding: 0px;
white-space: nowrap;
list-style-type: none;

}
.logo {

}
.nav li {
display:inline;
}
.nav li a {
 padding:0.2em 1em;
 background:#;
 color:#000;
text-decoration:none;
border:0px solid #000;
}
.nav li a hover{
background:#08c;
color:#fff;
 } 
  • 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-17T16:18:55+00:00Added an answer on June 17, 2026 at 4:18 pm

    You’re missing the alpha and omega classes that remove the margin from the left and right elements respectively.

    The HTML should look like this:

    <div class="header">
           <div class="two-thirds column alpha">
             <div class="logo"><img src="https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcQNGEBMvQ55sHEC0xWxvpkyW-H_ZylS9Fk5ktg3OLKLS3w6yCr29w" width="47" height="36"></div>
          </div>
          <div class="one-third column omega">
            <div class="nav">
              <ul><li><a href="hire.html">hire</a></li><li><a href="bio.html">Bio</a></li><li><a href="contact.html">Contact</a></li><li><a href="blog.html">blog</a></li></ul>
            </div>
          </div>
    

    Here’s a Code Pen with the example code: http://cdpn.io/rHBio

    EDIT

    To explain further (even after the downvote #bitter).

    The reason you have the navigation on two separate lines is because after the following media query the container and all of the columns are set to 300px.

     @media only screen and (max-width: 767px) {
            .container { width: 300px; }}
    

    There is another media query that overrides that one for any devices between 480px and 767px and gives a width of 420px.

     @media only screen and (min-width: 480px) and (max-width: 767px) {
            .container { width: 420px; }
    

    Because the classes used, two-thirds and one-third, are now set to either 420px or 300px there they take up the entire row (they become stacked/linear).

    To override this and have them on the same line you will need to target those elements through additional CSS rules to reduce their width to 100/200px or 120/300px to fit in with the media queries.

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

Sidebar

Related Questions

I'm using SWT in Java and I'm trying to left align an image and
Problem: I am trying to align divs next to each other using float:left but
Trying to detect left click vs right click (without using jQuery!) and I have
Im trying to shift my array left as efficiently as possible. Im using pointers
I'm trying to get the .Left property of a specific tab page in a
I am trying to control the channel (left/right) and its volume from which the
I'm trying to do a left join in subsonic 3 using linq but it
I have been trying to left align buttons contained in a Box to the
I am trying to left align a div within a div that has been
I'm trying to make the footer stay at the bottom using CSS, - sticky

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.