
Page-Break-Before error
In <style> section I have
div.left {float:left; margin-left:.5in; width:4.7in} div.right {float:right;margin-right:.5in;width:4.7in} div.clear {clear: both; page-break-before: always}
in <body> there is
<div class='right'> ... </div><div class='clear'></div><div class='left'> <h1>Responses to One of a minor (continued)</h1>
The <h1> data gets put on the bottom of the page before it. I feel that is a Mozilla error, if not, how do I correct it.
Modified
Chosen solution
I've fixed your first (question) post and deleted the others.
Best is always to create a test page (e.g. jsfiddle.net), so we can check this on a live page.
See also:
Read this answer in context 👍 1All Replies (3)
Col_Boogie said
In <style> section I have
div.left {float:left; margin-left:.5in; width:4.7in}
div.right {float:right;margin-right:.5in;width:4.7in}
div.clear {clear: both; page-break-before: always}
in <body> there is
<div class='right'> ...
</div≶<div class='clear'></div><div class='left'>
<h1>Responses to One of a minor (continued)</h1>
The <h1> data gets put on the bottom of the page before it.
I feel that is a Mozilla error, if not, how do I correct it.
Sorry - question posted funny - still trying to correct </blockquote>
Chosen Solution
I've fixed your first (question) post and deleted the others.
Best is always to create a test page (e.g. jsfiddle.net), so we can check this on a live page.
See also:
Modified
Thank you. I also found an alternate solution using google. On first division statement put float:none and use for float:left add page-break-before: always which I need to keep because other browsers were having the same problem.