I will start with the ASCII illustration I want to achieve:
Category title
Title Title
+-------+ +-------+
| | | |
| | | |
| Image | | Image |
| | | |
| | | |
+-------+ +-------+
Subtitle Subtitle
Category title
Title Title
+-------+ +-------+
| | | |
| | | |
| Image | | Image |
| | | |
| | | |
+-------+ +-------+
Subtitle Subtitle
So, I have these categories containing elements. Each element consists of Title, Subtitle and Image. Images of different sizes. Their width is 150px, but the height ranges from 150px to 252px. And I can not predict what sizes will be in the future, although they should be somewhere around this size. You can assume that the width is constant 150 pixels, and the height can vary from 150 to 300 pixels.
The categories and counting elements in each category are, of course, arbitrary. Although in each category there will be at least one element (otherwise I do not show the category). The lengths of captions and subtitles are also variable, although they are generally fairly short.
The effect I want to create is as follows:
, TABLEs, DIVs The Force. , .:) , , ?
, - , ?