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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:33:51+00:00 2026-06-05T00:33:51+00:00

I am having a lot of fun with the new HTML5 elements, but there

  • 0

I am having a lot of fun with the new HTML5 elements, but there is a feature of the nav element, or so I presume, that I do not understand. Why does it not fall into the lineup with other elements? What I mean is, my divs line right up from left to right and top to bottom. When I add the nav element, it just floats over everything in the top left corner. I can’t figure out if this is something intrinsically related to the nav element, or if it is the way I have my div elements arranged. It seems stupid to use the semantic nav element, only to have to couch it inside of a div.

HTML:

<header>
    <div id="logo">
        <a href="redactedurl.com" accesskey="1" tabindex="1" title="Take me home."> 
            <img alt="Logo and link to home page." src="../img/logo.gif" width="200" height="200" />
        </a>
    </div>
    <div id="cobCabRec">
        <h1>RECORD LABEL</h1>
    </div>
    <nav id="menu">
        <div class="menuLink"><a href="bands.php" tabindex="2" accesskey="2">BANDS</a> </div>
        <div id="releases"></div>
        <div id="distro"></div>
        <div id="store"></div>
        <div id="shows"></div>
        <div id="wholesale"></div>
        <div id="links"></div>
    </nav>
</header>

CSS:

#headWrap{
width:1024px;
height:200px;
background-image:url(../img/headGrating.png);
background-repeat:no-repeat;
background-position:center center;
}
#cobCabRec{
height:63px;
width:824px;
float:right;
}
h1{
font-family:"friz Quadrata TT";
font-size:53px;
margin:0 auto 0;
padding:0;
width:716px;
font-weight:bold;
}
#logo{
float:left;
}
#menu{
width:985px;
height:36px;
background-color:#000;
color:#fff;
padding-top:64px;
}
.menuLink{
font-family:oswald;
font-size:16px;
font-weight:bold;
}
  • 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-05T00:33:52+00:00Added an answer on June 5, 2026 at 12:33 am

    I need to clear my floats! Thank you to Diodeus for pointing out the obvious.

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

Sidebar

Related Questions

I'm having a lot of problems with the new hosting, but the more I
so I'm having a lot of fun with Perl at home for some time
I'm having a lot of issues with SQL, I'm not sure how to do
I am having a lot of fun with Linq2Sql. Expression Trees have been great,
I'm new to Ruby on Rails and so far, I'm having a lot of
I'm still very much a noob, having a lot of fun learning the basics
Having lot of resources that share common custom actions, ie: import and export: resources
I'm having a lot of trouble converting a subquery that would need to return
I am having a lot of fun trying to make my margins (and widths)
I am having a lot of troubles with my C++ code but I can't

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.