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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:09:53+00:00 2026-05-12T05:09:53+00:00

I have a site with the following structure: <div id=header></div> <div id=main> <div id=navigation></div>

  • 0

I have a site with the following structure:

<div id="header"></div>

<div id="main">
  <div id="navigation"></div>
  <div id="content"></div>
</div>

<div id="footer"></div>

The navigation is on the left and the content div is on the right. The information for the content div is pulled in through PHP, so it’s different every time.

How can I scale the navigation vertically so that its height is the same as the content div’s height, no matter which page is loaded?

  • 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-05-12T05:09:53+00:00Added an answer on May 12, 2026 at 5:09 am

    NOTE: This answer is applicable to legacy browsers without support for the Flexbox standard. For a modern approach, see: https://stackoverflow.com/a/23300532/1155721


    I suggest you take a look at Equal Height Columns with Cross-Browser CSS and No Hacks.

    Basically, doing this with CSS in a browser compatible way is not trivial (but trivial with tables) so find yourself an appropriate pre-packaged solution.

    Also, the answer varies on whether you want 100% height or equal height. Usually it’s equal height. If it’s 100% height the answer is slightly different.

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

Sidebar

Related Questions

I have following html site structure: <body> <div id=header></div> <div id=container> <div id=util_header></div> <div
I have a site that has the following structure: <div id=page_wrapper> <div id=header></div> <div
I have the following structure -www \-subfolder In www I have my main site's
In an oscommerce site I have the following: Server response = Content-type: text/html;charset=UTF-8 and
I have the following structure in IIS. Internet Information Services (local computer) Web Sites
I have a site with the following structure: http://www.example.com/folder1/folder2/folder3 I would like to disallow
I have the following site structure: What I'd expect this to do was to
Consider the following: incl.php <div id='footer'> <?php sleep(10); echo <div class='footer-float'><!-- content --></div>; ?>
I have the following data structure: data = [ {'site': 'Stackoverflow', 'id': 1}, {'site':
I have the following site structure Parent Site -> blog (wordpress) -> get-recent-posts.php ->

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.