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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T18:02:42+00:00 2026-06-08T18:02:42+00:00

I am attempting to implement the following layout without using javascript and without using

  • 0

I am attempting to implement the following layout without using javascript and without using tables:

There are a LOT of rows on a page. Each row is filled by four content elements, the tallest of which determines the height of the row. Each content element has two other elements, in this case, an image and a caption. The image is aligned to the top of the row while the caption is aligned to the bottom.

In the HTML structure, the image and caption must stay together in the content element.

Some solutions I’ve tried:

Splitting each row into two: a row of images and a row of captions, separates the images from the captions.

Using the famous equal height column div structure results in an ugly absolutely-positioned Matryoshka Doll arrangement of divs.

The issue with tables is that the page will be made MUCH more dynamic in the future (rearrangable content, fluid layout, dynamic searching, content of varying width), and tables will be extremely annoying to do this with.

  • 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-08T18:02:44+00:00Added an answer on June 8, 2026 at 6:02 pm

    If I’m imagining your markup correctly, perhaps this will work for you:

    http://jsfiddle.net/Puppies4Life/Fd94X/1/

    I absolutely positioned the .caption to the bottom of .row. I made it a point to position .caption to .row instead of the immediate parent .content because of the varying heights of .content. The image remains in the flow of the document. I Added some additional padding to the bottom of .row to account for the text and put in a simple clear fix (I suggest using a better option in your production code)

    Hope this helps solve your problem or possibly ignites an idea or two!

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

Sidebar

Related Questions

I've been attempting to implement Vincenty's formulae with the following: /* Implemented using Vincenty's
I'm attempting to implement nested object forms for my site, using Ryan Daigle's blog
I am successfully using RJS to implement AJAX on a page.replace.html create.js.rjs. I am
I'm attempting to implement the IObservable interface in C# using Mono 2.10.6, and Monodevelop
I'm using AndroidBillingLibrary to implement in-app purchases for my game. I've done the following:
I'm attempting to implement an animated drawable with the following... <?xml version=1.0 encoding=UTF-8?> <animation-list
I am attempting to implement a reverse proxy using the RequestInterceptor from WCF REST
I'm attempting to implement quicksort in-place, using boost's threading facility. Unfortunately I'm getting an
I'm attempting to implement a MVP pattern in my latest project. Currently using the
I am sometimes receiving the following exception when attempting to deserialise an object using

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.