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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:49:17+00:00 2026-05-27T23:49:17+00:00

As shown in the example above, I’m trying to create a grid of boxes/cells.

  • 0

Example screenshot

As shown in the example above, I’m trying to create a grid of boxes/cells. I want it to look nicer than the screenshot, and I want the bottom of each cell extend down to align with the bottom of the tallest cell in the row. I know there are about a millions posts to solve 100% height problems but none of them seem to work for this case.

Requirements:

  • No background images
  • No javascript
  • Must work with the following Doctype: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> (Drupal 7)
  • But, I’m very flexible with the markup and CSS, for example, I’m fine with adding extra clear divs or even re-doing the whole thing with tables.

Here’s the code I used to make the screenshot above:

HTML:

<div class="row">
  <div class="cell">Here is a grid of several cells. We want each cell to extend down to the bottom of the row.</div>
  <div class="cell">This cell it too short. </div>
</div>
<div class="row">
  <div class="cell">This cell should extend down to the bottom.</div>
  <div class="cell">We don't want to use background images or javascript. But the markup and CSS can be made however is best. Each row should contain cells of equal size.</div>
</div>

CSS:

.row {
  clear: both;
}

.cell {
  background: #CCC;
  border-radius: 10px;
  border: 2px solid #AAA;
  float: left;
  margin: 5px;
  padding: 5px;
  width: 200px;
}
  • 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-27T23:49:18+00:00Added an answer on May 27, 2026 at 11:49 pm

    Here’s what did it for me…

    enter image description here

    HTML:

    <table><tbody>
      <tr>
        <td>Here is a grid of several cells. We want each cell to extend down to the bottom of the row.</td>
        <td>This cell it too short. </td>
      </tr>
      <tr>
        <td>This cell should extend down to the bottom.</td>
        <td>We don't want to use background images or javascript. But the markup and CSS can be made however is best. Each row should contain cells of equal size.</td>
      </tr>
    </tbody></table>
    

    CSS:

    table {
      border-spacing: 10px;
      margin: -10px;
      border-collapse: separate;
    }
    
    td {
      background: #CCC;
      vertical-align: top;
      border-radius: 10px;
      border: 2px solid #AAA;
      display: table-cell;
      padding: 5px;
      width: 200px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Lets say for example there are 5 records shown on screen. I want the
I want to implement the Demo shown at http://tablesorter.com/docs/example-pager.html in a mobile application. I
I'm trying adapt the example code shown in the Array Interface Example section here,
Example: http://jqueryui.com/demos/dialog/#modal-confirmation The example shown allows you to view the source and even has
I have an array of strings(as shown in example). I just wish to find
I have a SQLite table called posts . An example is shown below. I
In this example my NSDictionary initializes with 0 key/value pairs, as shown in my
So I'm having a bit of trouble understanding this example that was shown in
This example shows what I am trying to do: http://jsfiddle.net/Dqjvy/ I would like it
I have a table, an example shown below, that lists people and their birth

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.