How do you detect a line break in a div content?
Let's say, I have couple of divs on a page like this -
<div id="header" style='width:500px;'> Header content </div>
<div id="container" style='overflow:vscroll;'> dynamic content </div>
<div style="page-break-after:always"> </div>
When I print this page, if the content inside container div is multiple pages then the header don’t appear on the second or further pages. I need the header to show up on every page.
Any help will be very much appreciated.