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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T11:59:28+00:00 2026-06-14T11:59:28+00:00

I created a navigation bar for my school project (I’m doing basic design, then

  • 0

I created a navigation bar for my school project (I’m doing basic design, then we’re adding the mysql database), and the bar works great, but it does not extend to the bottom of the page, it’s just a little box right now.

Here’s my style script

style type='text/css'>
#navigation {
 display:block;
 width:150px;
 float:left;
 margin-left:7px;
 margin-right6px;
 margin:5px;
 border-style:solid;
}
#navhead {
 text-align:center;
 margin-left:7px;
 margin-right:6px;
}
#links {
 display:block;
 width:60px;
}
</style>

Am I missing any attributes that say ‘extend to bottom of frame?’

Thanks!

  • 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-14T11:59:30+00:00Added an answer on June 14, 2026 at 11:59 am

    You need to use the height property. You can set the height to 100% (the height of this parent, so the <body>) but it will looks weird, because it will render the height + the padding + border + margin.
    You need to use the border-box property with the height. It allows you to define if the padding and/or border (or none, by default) are count in the height and width properties. You also needs to kill the margin-top and margin-bottom.
    After those changes, here what your CSS should look like :

    #navigation {
        -webkit-box-sizing: border-box;
           -moz-box-sizing: border-box;
                box-sizing: border-box;
        display: block;
        width: 150px;
        height: 100%;
        float: left;
        margin-left: 7px;
        margin-right: 5px;
        border-style: solid;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a class where i create my navigation bar. Then i have created
I have created a navigation bar that is centered with CSS which works. Each
I created a single view project in xcode 4. I added a navigation bar
I have created a flexible navigation bar in my app that will show custom
I am new to iphone development.I have created a UIBarButtonItem on the navigation bar.I
I created a tab bar application from the template and added a navigation controller
I want to hide the navigation bar in a page created using WPF. I
I have an MVC 3 site. I've created a navigation bar that looks like
I created a webtemplate (http://msdn.microsoft.com/en-us/library/ms434313.aspx) in SharePoint and added following localized Navigation Bar to
I have created a navigation bar with a horizontal unordered list. This displays fine

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.