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

  • Home
  • SEARCH
  • 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 5847491
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:43:33+00:00 2026-05-22T12:43:33+00:00

Simple problem, though apparently not a simple solution. Example here: http://myhideout.eu/new/ Basically the site

  • 0

Simple problem, though apparently not a simple solution.

Example here: http://myhideout.eu/new/

Basically the site consist of two columns, though with no wrappers or anything like it, as I’d really like to do with as little of the sort as possible, partly for the sake of simplicity, but also to make use of the HTML5 semantics, which in my mind don’t really include divs, no matter how appropriately they are be named.

However, I’d like to have the sidebar fill up the full height of the adjacent column, which is not as easy as I first thought it would be. I know it’s an old problem, but I was sure I had solved it before.

Anyhow, I tried to figure out how to do it without using wrappers or JavaScript. JavaScript is a no go, but that’s another story. I was sure that there would be some sort of smart CSS3 feature or something similar, that would solve my problem, without the need for wrappers, but my search for this much need feature was a failure of epic proportions.

So I said to my self: “Damn it! Oh well, just have to use wrappers then.”

I was sure it would work. I tried different configurations, but no matter what I did, I couldn’t get it to work without setting an absolute height of the surrounding wrapper. Just imagine my disappointment, failing once again when I was sure I had done it before. So again I went searching for a solution to suit my needs. Though a lot more material turned up this time, it was still a failure. The few solutions I found was questionable to say the least.

So, now I’m here again, asking yet another one of those questions which undoubtedly have been asked a quadrillion times before. I am sorry about this, but I really don’t know where else to go.

I do hope you can help.

Thanks in advance and best regards.

edit:

This works exactly as I want it too:

<!DOCTYPE html>
<html>
  <head>
    <style type="text/css">
       body {
        margin: 0 auto;
        width: 800px;
      }
      #wrapper {
        position: relative;
        width: 800px;        
      }
      body > header, body > footer {
        background-color: red;
        width: 800px;
      }
      #wrapper > article {
        margin-right: 200px;
        width: 600px;
        background-color: blue;
      }
      #wrapper > aside {
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        width: 200px;
        background-color: green;
      }
    </style>
  </head>
  <body>
    <header>This is a header</header>
    <div id="wrapper">
      <article>
        This is the content<br /><br /><br /><br />left<br /><br /><br /><br />left
      </article>
      <aside>
        And this is the sidebar! I dynamically make myself bigger based on the content on the left!
      </aside>
    </div>
    <footer>This is a footer</footer>
  </body>
</html>

Only problem left is getting rid of that damn div tag 😉

edit:
the css table display properties have been pointed out to me, and it really seems to be what I’m looking for, as the smart solution, but with multiple elements in one row, and only one in the other, I can’t figure out how it should be done.

  • 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-22T12:43:34+00:00Added an answer on May 22, 2026 at 12:43 pm

    If IE6 compatibility is not a requirement, then I usually will usually do the following html:

    <div class="container">
        <div class="content">
            This is the content
        </div>
        <div class="sidebar">
            And this is the sidebar! I dynamically make myself bigger based on the content on the left!
        </div>
    </div>
    

    And this is the CSS:

    .container { position:relative; }
    .content {margin-right:<SIDEBAR WIDTH HERE>;}
    .sidebar {position:absolute; top:0; bottom:0; right:0; width:???; }
    

    JSFiddle example: http://jsfiddle.net/geC3w/

    This works in all modern browsers and Internet Explorer 7 and above, it’s also immensely simple, as long as IE6 compatibility isn’t a requirement

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

Sidebar

Related Questions

I have a seemingly simple problem though i am unable to get my head
I have a very simple problem which requires a very quick and simple solution
I have a very simple problem and a solution that will work, but I'm
I am sure this is a very simple problem, but I am new to
Seems like a simple problem: I have an SVN repo inside our firewall. I
I have a simple problem when querying the SQL Server 2005 database. I have
i have very simple problem. I need to create model, that represent element of
This may be a very simple problem, but I couldn't find an answer googleing
Today we faced a quite simple problem that were made even simpler by the
Ok, simple problem hopefully. I have started to make a simple server for a

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.