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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:39:32+00:00 2026-06-11T18:39:32+00:00

Possible Duplicate: Make Div on right side fill out all available space I’m designing

  • 0

Possible Duplicate:
Make Div on right side fill out all available space

I’m designing a theme for a blog and I’m having some trouble trying to get a layout working. Here’s an image of what I want.

A blog's content's layout
This diagram represents the individual posts and not the website itself, so it will be contained in a box of it’s own, lets call it .container. Also the purple and green are in another box, let’s call it .content. The other elements will be called by their color for now.

so here’s more or less what the CSS looks like:

.container { 
    display:block;
    margin:0 25px;
}

.gray, .blue, .content {
    display:block;
    width:100%;
}

.purple {
    display:inline-block;
    width:125px;
    height:100%;
    text-align:center;
}

.green {
    display:inline-block;
}

That’s all there is at the moment. I tried float but that made no effect. What’s happening is something like this.

enter image description here

Here’s a few more things you should know:

  • .container‘s width is NOT set it is auto
  • .purple and .green don’t necessarily need to be the same size as long as .green doesn’t go to that side.
  • .purple CAN have a set height
  • .green is where the meat is, that’s where the actual post goes, keep that in mind.
  • I don’t think tables will help, the problem is inside .content.
  • 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-11T18:39:33+00:00Added an answer on June 11, 2026 at 6:39 pm

    Use answers in this post to get a solution:

    Make Div on right side fill out all available space

    I am recommending tables-directed one because it is most valid/working approach on almost every browser.

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

Sidebar

Related Questions

Possible Duplicate: Make error: missing separator I am so stressed out by this silly
Possible Duplicate: How to horizontally center a div? One simple way to make an
Possible Duplicate: Blink an div with jquery I need to know how to make
Possible Duplicate: How to make a real time “User is typing” notice to all
Possible Duplicate: How to make in Javascript full screen windows (stretching all over the
Possible Duplicate: How do I make a Div move up and down while Scrolling
Possible Duplicate: Make CSS Div Width Equal To Contents I am trying to make
Possible Duplicate: rendering html to png (server-side) I have a DIV element with some
Possible Duplicate: Make iPhone app paid version replace free version on install from app
Possible Duplicate: How to make python scripts executable on Windows? Set up Python on

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.