I am working on a dynamic list using ASP:REPEATER with floating divs aligned to the left. The current layout is as follows:
+---------------------+ +---------------------+ +---------------------+
| | | | | |
| | | | | |
| | | | +---------------------+
| | | | +---------------------+
+---------------------+ +---------------------+ | |
| |
| |
| |
+---------------------+
+---------------------- ++------------- -------+ +---------------------+
| | | | | |
| | | | | |
| | | | | |
| | | | | |
+---------------------+ +---------------------+ +---------------------+
However, I want the 4th div to be displayed on its own line regardless of the height of the 3rd one. Due to the responsive design constraints, I cannot assign a specific height. The desired layout is shown below:
+---------------------+ +---------------------+ +---------------------+
| | | | | |
| | | | | |
| | | | +---------------------+
| | | |
+---------------------+ +---------------------+
+---------------------+ +---------------------+ +---------------------+
| | | | | |
| | | | | |
| | | | | |
| | | | | |
+---------------------+ +---------------------+ +---------------------+
+---------------------+
| |
| |
| |
| |
+---------------------+
The CSS class for each div is as follows:
.wrapProducts
{
float: left; width: 30%;
margin: 0% 3% 5% 0%;
}
Does anyone have suggestions on how to achieve this layout?
Thank you in advance!