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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T01:08:26+00:00 2026-05-20T01:08:26+00:00

Earlier I asked a question about horizontal positioning of div containers, now I’ve got

  • 0

Earlier I asked a question about horizontal positioning of div containers, now I’ve got follow up and related questions:

(1) As you can see in the HTML code below, I’ve got a “column_bottom” container (for links) placed to the left of a “content_bottom” container (for the page’s main content).
As I type more content into the “content_bottom” container so that its height exceeds that of the left “column_bottom” container, the entire “content_bottom” container shifts to BELOW the “column_bottom” container. What can I do so that the left “column_bottom” container’s height dynamically match the height of the right “content_bottom” container (and they stay horizontally next to each other)?

(2) As you can see in the CSS style sheet below, I tried to manually set the widths of the “column_top” and “column_bottom” to match in em units by trial and error. Would there be any issues with this method across different browsers on different systems? What can I do to ensure that “column_top” and “column_bottom” widths always match?

Thanks for your help.

Here’s the HTML:

<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>this is the site's title</title>
<link rel="stylesheet" href="penonek.css" type="text/css">
</head>
<body>
<div class="wrapper">
<div class="column_top">site<br>
</div>
<div class="content_top">&nbsp;title<br>
</div>
<div class="column_bottom">
<ul>
<li>home</li>
<li><a href="#">link 1<br>
</a></li>
<li><a href="#">link 2<br>
</a></li>
<li><a href="#">link 3<br>
</a></li>
</ul>
</div>
<div class="content_bottom">main content here<br>
</div>
</div>
</body>
</html>

Here is the CSS:

body {
  margin: 0;
  padding: 0;
  font-family: Arial,Helvetica,sans-serif;
  text-align: center;
  color: #cccccc;
  background-color: black;
  font-size: 1em;
}
.wrapper {
  margin: auto;
  min-width: 60em;
  max-width: 60em;
  font-family: Arial,Helvetica,sans-serif;
  width: 60em;
  color: #cccccc;
}
.column_top {
  border-width: 0 0 0.25em;
  border-bottom: 0.25em solid black;
  width: 3.2em;
  min-width: 3.2em;
  float: left;
  padding-top: 2em;
  text-align: right;
  color: #333333;
  max-height: 1em;
  background-color: #f4f4f4;
  font-size: 3em;
  min-height: 1em;
  max-width: 3.2em;
  height: 1em;
  font-weight: bold;
  padding-bottom: 0.2em;
}
.content_top {
  border-width: 0 0 0.25em;
  border-bottom: 0.25em solid #f4f4f4;
  padding-top: 2em;
  font-size: 3em;
  min-height: 1em;
  text-align: left;
  max-height: 1em;
  height: 1em;
  font-weight: bold;
  padding-bottom: 0.2em;
}
.column_bottom {
  width: 9.28em;
  text-align: right;
  padding-top: 3em;
  color: #333333;
  border-bottom-width: 0;
  background-color: #f4f4f4;
  border-right-width: 0;
  padding-right: 0.3em;
  float: left;
  border-left-width: 0;
  min-width: 9.28em;
  max-width: 9.28em;
}
.content_bottom {
  padding: 3em 5em 5em;
  border-collapse: separate;
  text-align: left;
  float: left;
}
.column_bottom ul {
  margin: 0;
  padding: 0;
  text-decoration: none;
  color: #333333;
  list-style-type: none;
  font-weight: inherit;
}
.column_bottom a:hover {
  background-color: #999999;
}
.column_bottom a {
  text-decoration: none;
  font-weight: inherit;
  color: #333333;
}
  • 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-20T01:08:26+00:00Added an answer on May 20, 2026 at 1:08 am

    Add a wrapper for .content_bottom with this css:

    .content_bottom_wrapper {
        width: 100%;
        margin-left: -9.58em;
        float: right;
    }
    

    And add this to content-bottom:

    margin-left: 9.58em;
    

    9.58em = width of .column_bottom + padding-right on .column_bottom

    http://jsfiddle.net/p93fM/

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

Sidebar

Related Questions

I asked an earlier question about absolute and relative div positioning , but I
I asked a question earlier about why left joins in Linq can't use defined
This is related to this question I asked earlier about syntax highlighting user-defined blocks
I asked this question earlier about business logic and presentation logic, and it got
Earlier today I asked a question about configuring log4net from code and got an
Earlier today, I asked a question about the way Python handles certain kinds of
I asked a question earlier about keyhooks in vb.net. My current issue is such:
I asked a question earlier about ESBs written in Erlang or Java, and there
Related to a question I asked earlier here , I've found a problem which
I earlier asked a question about arrays in scheme (turns out they're called vectors

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.