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

The Archive Base Latest Questions

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

Is it possible to make e.g. a 2×2 grid with divs that behaves like

  • 0

Is it possible to make e.g. a 2×2 grid with divs that behaves like a table when comes to resizing to fit the contents?

Like this

+-----------+
|  1  |  2  |
-------------
|  3  |  4  |
+-----------+

So for example if you write something in cell #1 and the width increases to fit the content, cell #3 is resized to so it has the same width as #1.
And Same for height so if you put linebreaks in #1 and height increases, #2 gets the same height too.

I know it can be done with display: table,table-row,table-cell but IE7 doesn’t support them.
Is there any workarounds (without JS) or a different solution?

  • 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-23T01:22:10+00:00Added an answer on May 23, 2026 at 1:22 am

    Apart from putting a table inside a div itself, or 4 other divs inside the div, there is a CSS3 Grid Column property but it isn’t currently supported by any of the major browsers, you can see the information here

    The only other alternative I know (that I use in 1 site) is supported in all browsers except for IE, the CSS3 Multiple Columns property. I nest 2 divs inside a container div, 1 top and 1 down then use this property.

    I hope it helps.

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

Sidebar

Related Questions

Is it possible to make query like this? That has some error... Query should
is possible make insert in the table with only one column and this column
Is it possible to make it appear to a system that a key was
Is it possible to make efficient queries that use the complete regular expression feature
Is it possible make some handler that will do something when user shutdown computer
is possible make a .xcodeproj file and how? I'd like to make a Mac
how is possible to make an iphone tab that loads selected data from an
Is it possible to make a change to a project that will cause it's
is it possible to make an imageview link to a web page such that
Is it possible to make a LinkButton selectable? That is, the text from the

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.