In the process of developing this webpage, I encountered a layout that resembles the following:
https://i.sstatic.net/T8XHa.png
Here is an approximation of the HTML structure:
<div class="title">
<table>
<tr>
<td width="35%">Table 1a Header</td>
<td width="65%">Table 2a Header</td>
</tr>
</table>
</div>
<div class="padding-all">
<div class="body" style="width: 100%">
<div><table> <!-- table 1b... --></div>
<div><table> <!-- empty table for spacing --></div>
<div><table> <!-- table 2b... --></div>
</div>
</div>
The desired outcome is either:
1) Positioning the text in <div class="title">
at the top to align it above the tables within <div class="body">
OR
2) Expanding the "top" rows within the tables to cover the full width of the page and eliminate any black space, essentially mimicking the appearance of the current title div.
In both cases, alignment between the text for "1a" and "1b" as well as 2a/2b is required, along with a gray background spanning the width of the page.
Although I'm predominantly a developer rather than a designer, I've struggled to find a solution. Adjusting the percentages of the title div's table data cells has proven to be inconsistent across resolutions. What other approaches could I take?