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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:45:10+00:00 2026-05-23T23:45:10+00:00

Please see the image below. Assume that these are all divs with the given

  • 0

Please see the image below. Assume that these are all divs with the given ids. Also, let’s assume that they carry the same weight semantically so they should be at the same point in the html hierarchy:

<div id="1"></div>
<div id="2"></div>
<div id="3"></div>
<div id="4"></div>

What is the proper CSS to position them correctly so as to appear as in the image below? The solution should flow properly as the browser is resized and preferably work on >=IE7.

Div element positioning

Think of this as an action panel (#1) and 3 information displays (#2, #3, #4) so it is probably expected for 2,3,4 to expand in width to fill the browser window and flow below the action panel as the browser shrinks.

  • 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-23T23:45:11+00:00Added an answer on May 23, 2026 at 11:45 pm

    Use this

    #id1, #id2, #id3, #id4{ float:left; }
    #id1{ width:50%; height:300px; background-color:red; }
    #id2{ width:50%; height:50px; background-color:blue; }
    #id3{ width:25%; height:250px; background-color:green; }
    #id4{ width:25%; height:250px; background-color:yellow; }
    

    demo at http://jsfiddle.net/gaby/wsEt6/


    I altered your ids as they are not allowed to be numeric.
    http://www.w3.org/TR/html4/types.html#h-6.2

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

Sidebar

Related Questions

Please see the image below. How was this 'pop-up' view created? Suppose I wanted
I have 2 related Linq to SQL questions. Please see the image below to
Please look at the image below !! So in this image... You can see
My Boss give me an image (please see below) and told him I would
Please see the below code. It shows animation effect with image. UIImageView *imgView =
i have the following situation (please see image below after reading the following): .dragoverlay
Please see my image below at the link and then read below it for
Please see code below. The destructors are never called. Anyone know why and how
Please see the code below: #include <iostream> #include <stdlib.h> #include <time.h> using namespace std;
everyone. Please see example below. I'd like to supply a string to 'schedule_action' method

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.