Link to home
Start Free TrialLog in
Avatar of Zernk
Zernk

asked on

Page Break in Separator Template fails in Firefox

I want my clients to print clean pages of records from my web site, so I have a page with a DataList that prints on page load.

Here is the page break in the DataList's Separator Template.  

<SeparatorTemplate>
                <div style="page-break-after: always">
                Text of headings for page 2 and beyond.<br /><br />
                </div>
</SeparatorTemplate>

This works in IE, but the page break is ignored in Firefox.  I read that "page-break-after" should not be used with absolutely positioned elements such as tables, but that's what the DataList renders.

Is there any other way to force a page break between records of a DataList?
SOLUTION
Avatar of John Gates, CISSP, CDPSE
John Gates, CISSP, CDPSE
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Sounds like a fair workaround.  You should post a PAQ and refund in community support.

-D-
Even though my answer pointed you in the right direction I will accept the close.
-D-