This forum is now read-only. Please use our new forums! Go to forums

banner
Close banner
0 points
over 8 years

3/14 [resolved] Passed lesson but elements on Nav Bar still not aligned on page?

So I passed lesson 1.3 but the

    s of the nav bar are still not aligned on the same line.

Here’s my code:

<div class="nav">
  <div class="container">
    <ul class="pull-left">
      <li><a href="#">Name</a></li>
      <li><a href="#">Browse</a></li>
    </ul>
    <ul class="pull-right">
      <li><a href="#">Sign Up</a></li>
      <li><a href="#">Log In</a></li>
      <li><a href="#">Help</a></li>
    </ul>
  </div>
</div>

What could I be doing wrong?

Answer 55eff25c86f552b5870001e9

3 votes
Best answer

Permalink

Actually I was able to solve this one on my own. The Nav Bar wasn’t aligned in the little preview screen of the page in the upper right. When I made it full page, everything looked OK.

Hope this helps.

points
over 8 years