Currently, I am using the following HTML and inline CSS:
<div style="width: 975px; clear: both; float: left; text-align: left; margin: 0;
background-color: #D3D3D3;">
<div style="width: 384px; float: left; height: 20px; margin: 0;">
<span style="font-style: italic; font-size: 13px; padding-left: 80px;">Test Group 1</span></div>
<div style="background-color: #BEE0F7; width: 165px; height: 20px; float: right;
padding: 0; margin: 0; font-weight: bold; border-bottom: 3px double;">
<div style="font-size: 13px; padding-left: 8px; text-align: right; width: 70px; display: block;
position: absolute;">
$0.00</div>
<div style="font-size: 13px; padding-left: 90px; text-align: right; width: 70px;
display: block; position: absolute;">
$0.00</div>
</div>
<div style="background-color: #CFF5CE; width: 166px; height: 20px; float: right;
margin: 0; font-style: italic; font-weight: bold; border-bottom: 3px double;">
<div style="font-size: 13px; padding-left: 80px; text-align: right; width: 70px;
display: block; position: absolute;">
$0.00</div>
<div style="font-size: 13px; text-align: right; width: 70px; display: block;
position: absolute;">
$0.00</div>
</div>
...
The issue arises when the page needs to break onto the next page in print preview. The content gets jumbled up at the top of the second page as shown in this image.
I suspect that it may be a problem with floats or inline/block elements causing this layout issue. Any insights on what might be causing this problem?