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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:17:00+00:00 2026-05-13T13:17:00+00:00

I want to make 3 divs in one line. Left, middle, right. Left and

  • 0

I want to make 3 divs in one line. Left, middle, right.
Left and middle must have fixed size (300 px for example) and middle have to resize dynamically (in percents). Here is my css:

#content
{
    width: 100%;
    height: 435px;
}

#content_left
{
    float: left;
    width: 300px;

    height: 345px;
    border: 1px solid red;

}
#content_middle
{
    margin-left: 300px;
    margin-right: 300px;

    width: 100%;
    height: 345px;

    border: 1px solid green;
}

#content_right
{
    float: right;
    width: 300px;

    height: 345px;
    border: 1px solid red;
}
#wrap
{
    maring: 0 auto;
    clear: both;
    width: 100%;

    margin-left: auto;
    margin-right: auto;

    min-width: 1020px;
}

And here is my html:

<div id="wrap">
    <div id="content">
        <div id="content_right"></div>
        <div id="content_left"><div>
        <div id="content_middle">
        </div>
    </div>
</div>

alt text http://img509.imageshack.us/img509/8940/capturewj.png

How can I make my green div to fill all size between other 2 divs?

  • 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-13T13:17:00+00:00Added an answer on May 13, 2026 at 1:17 pm

    Your HTML has an error. The left div is not closed. It should be:

      <div id="content_left"></div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two floating divs next to each other, and want the left one
I have link for example domain.com/de/controler/action?param=value and I want make actionlink to keep same
I am trying to make 3 floating divs - left, center and right with
I have multiple divs like setted up below. I want 1 (one) JQuery function
I have a site . I want to make 3 vertical divs with equal
I want to make a two column layout using DIVs, where right column will
I have the 2 divs that I want styled the same. One is called
I have 2 divs and I want to make their height equal: var highestCol
I wrote this function to make columns sortable. I want to rearrange divs based
I have style sheet with a class name changebackgroundcolor i want make change in

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.