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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T19:59:58+00:00 2026-06-13T19:59:58+00:00

I have 3divs left, center, right The problem is that left need to be

  • 0

I have 3divs left, center, right
The problem is that left need to be 320px, right 150px and center will take the rest of the space.
How can i do this? It need to be 100% response. I dont know how big the screen is, it can vary from 1920 to 1600screen resolution, but left and right need to be fixed.

The examples that has been posted in the comments works, but if you want to make 2 column if the width is max 768 and hide the 3d div with display: none; it will not work with the table example. And the other one with css3 box doesnt either work because it doesnt work in Explorer, there is no pollyfill.

So is there any fix for this or do i need to do it the classic way and compensate with margins and padding etc…….

  • 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-13T20:00:00+00:00Added an answer on June 13, 2026 at 8:00 pm

    You can display:table property for this. write like this.

    .parent{
        display:table;
        width:100%;
    }
    .parent > div{
        display:table-cell;
        min-height:200px;
    }
    .left{
        width:320px;
        background:green;
    }
    .center{
        background:red;
    }
    .right{
        width:150px;
        background:yellow;
    }
    

    Check this http://jsfiddle.net/BNQfC/1/

    OR

    You can use CSS3 flex-box property.

    Check this http://jsfiddle.net/sjYNy/1/

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

Sidebar

Related Questions

Is there a way to have left-, center-, and right-aligned text on the same
I have 3 radio buttons 1) left, 2) right 3) none so when I
I have 3 divs in one row <div id=left></div> <div id=middle></div> <div id=right></div> here's
what i have is 3 divs, 1 for left 1 for center and 1
I have 3 divs, 'left div', 'right div' and 'bottom div'. I have been
have a problem. At first look at this HTML <div id=map style=background-image: url(map.png); width:
I have 3 divs. When I click one of them, the div will disappear
I have 3 divs. When you click HIDE on divChaptersHide (div1) it will be
I want to have 3 divs aligned inside a container div, like this: [[LEFT]
I have 3 divs on a form page of my website. The top left

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.