I've come across some similar inquiries, but none seem to fully address the specific issue at hand. If there's an existing thread on this that I overlooked, I apologize in advance.
So, here's a multi-part problem: my solution for the first part has inadvertently caused a second issue.
I have a 4-column layout where the contents must maintain uniform height, like so:
https://i.sstatic.net/tRdY2.png
The second and fourth boxes should have background colors and need to match the height of the other two, which will be images. Currently, the most reliable way I found to achieve this is by structuring it as a table and setting the cell height to 100%, as shown below:
<table>
<tbody>
<tr>
<td style="width: 25%;">
<figure><img alt="" class="img-responsive" src="http://lorempixel.com/1000/1000/business" /></figure>
</td>
<td class="bg-brand-dark" style="height: 100%; width: 25%;">
<div class="block-padding-hor">
<h3 class="text-inverse h6"><strong>Featured Corporate News</strong></h3>
<hr class="rule-part--bright center-block" />
<p class="text-inverse h6">Hardly Dude, a new 'vette? The kid's still got, oh, 96 to 97 thousand, depending on the options.</p>
<p class="text-center"><a class="currentURL" href="">Continue Reading</a></p>
</div>
</td>
<td style="width: 25%;">
<figure><img alt="" class="img-responsive" src="http://lorempixel.com/1000/1000/business" /></figure>
</td>
<td class="bg-gray-dark" style="height: 100%; width: 25%;">
<div class="block-padding-hor">
<h3 class="text-inverse h6"><strong>Featured Corporate News</strong></h3>
<hr class="rule-part--bright center-block" />
<p class="text-inverse h6">Hardly Dude, a new 'vette? The kid's still got, oh, 96 to 97 thousand, depending on the options.</p>
<p class="text-center"><a class="currentURL" href="">Continue Reading</a></p>
</div>
</td>
</tr>
</tbody>
</table>
This resolved the initial problem effectively but led to a new complication. Any additional content placed below this markup gets obscured by the table above it, as illustrated in the undesired scenario below:
https://i.sstatic.net/XiVk2.png
Therefore, my question is: is there a reliable method to prevent this overlap? I initially assumed a table would act like a block element and stack accordingly, but apparently, that's not the case. Thank you in advance for any guidance, even if it involves blunt feedback along with a link to an existing thread addressing the issue!
::EDIT::
I omitted the CSS since it likely doesn't affect this issue, but if necessary for clarity, feel free to request it and I'll provide it.
::EDIT 2::
As requested, here's the CSS code, although it mainly involves setting background colors and centering elements:
<style>
.img-responsive {
max-width: 100%;
}
.bg-brand-dark {
background-color: #004892;
}
.block-padding-hor {
padding-left: 30px;
padding-right: 30px;
}
.rule-part--bright {
border: 2px solid #08b5fe;
width: 50%;
}
.center-block {
margin: 0 auto;
}
.text-inverse {
color: #ffffff;
}
.h6 {
font-size: 13px;
}
.text-center {
text-align: center;
}
.bg-gray-dark {
background-color: #4D4F53;
}
</style>