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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:28:24+00:00 2026-06-18T12:28:24+00:00

My header section is a bit messed up. My nav menu is being put

  • 0

My header section is a bit messed up. My nav menu is being put below the actual title. I’ve tried changing the display to inline, but when i do this to the #navmenu it clears the color and completely remains the same.

I know there is probably an easy answer as for almost every question i have asked, but can someone please help me?

HTML:

<!DOCTYPE html>

<html>

    <head>
        <meta name="Description" content="This is your test website!"/>
        <meta name="author" content="Me!"/>
        <title>ReallyGoodPie | Home</title>
        <link type="text/css" rel="stylesheet" href="css/style.css"/>
    </head>

    <body>

        <div id="wrapper">
            <nav id="navmenu">
            <div id="title">
                <h1>Title</h1>
            </div>

                <ul>
                    <li>Home</li>
                    <li>About</li>
                    <li>Tutorials</li>
                    <li>Services</li>
                    <li>Contact Us</li>
                </ul>
            </nav>

            <aside id="sidenews">

            </aside>

            <div id="center">

                <section id="mainsection">
                    <article>
                        <header>
                            <hgroup>
                                <h1>This is a test</h1>
                                <h2>I like tests!</h2>
                            </hgroup>
                        </header>
                        <section>
                            <p>This is the main section of my section (sectception)</p>
                        </section>
                        <footer>
                            <p>Time and date</p>
                        </footer>
                    </article>
                </section>

            </div>

            <footer id="cright">
                <p>This is the copyright section. All rights reserved.</p>
            </footer>
    </body>

</html>

CSS:

*{
margin: 0;
padding: 0;
}

header, section, footer, aside, nav, article, hgroup{
    display: block;
}

a{
    text-decoration: none;
    color: #FFF;
}

a:hover{
    color: #333399;
}


#wrapper{
    width: 100%;
    margin: 20px auto;
    margin-top: 0px;
    text-align: left;
    background-color: #FFF;
}

#navmenu{
    background: #3366CC;
    color: #eee;
    text-align: right;
    height: 100px;
    padding: 0;
    margin:0;
    float: top;
    width: 100%;
}

#navmenu li{
    display: inline-block;
    list-style: none;
    padding: 20px;

}

#navmenu ul{
    padding-right: 10px;
}

#navmenu li:hover{
    color: #FFF;
    background: #3399FF;
    border-radius: 5px;
    -moz-border-radius: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
}




#mainsection{
    float:left;
    width: 630px;
    margin:30px;
    margin-top: 2
    background-color:#FFF;
    color: #222;
    text-align: left;

}

#cright{
    text-align:center;
    background-color: #AAA;
    clear: both;
}

#center{
    width: 1000px;
    height: 1000px;
    background-color:#FFF;
}

#sidenews{
    float:right;
    width: 250px;
    height: 940px;
    margin: 0px 0px;
    padding: 30px;
    background-color:#FFF;
}

#title{
    text-align: left;
    padding: 0;
    padding-top: 10px;
    padding-left: 10px;
    width: 200px;
}

h1{
    width: 100px;
}
  • 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-18T12:28:25+00:00Added an answer on June 18, 2026 at 12:28 pm

    If I understand your “question” you want the title to be left of the navigation? In which case you need to use:

    #title
    {
        float: left;
    }
    

    http://jsfiddle.net/z3F4x/

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

Sidebar

Related Questions

I have some VERY simple code to return the title for a section header:
I'm trying to change the header title for a section in a UITableView when
I'm using the html 5 tags like header,section,nav,article,autofocus,required, input type=email and pattern. i noticed
I'm a bit puzzled how I'm supposed to use the HTML5 <header> , <section>
I have sections with headers. Clicking the header collapses and expands the section below
I have scripts in my ASPX page, in the header section. I want to
I am having trouble animating a custom UITableView section header. The goal was to
I've implemented this method to return the section header height. However, when the height
I followed this post to make my section header animate out of view when
Similar question: How to mimic UITableView's UITableViewStylePlain section header style No complete answers. BarrettJ's

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.