problem with multi-page tables

106 views
Skip to first unread message

John Bell

unread,
Apr 28, 2012, 9:31:03 AM4/28/12
to dom...@googlegroups.com
I have a <table> enclosed in a <form> . If the table spans more than one
page, the second page content is all displayed in the top left corner of
the 1st page.

John

BrianS

unread,
May 14, 2012, 11:32:30 PM5/14/12
to dom...@googlegroups.com

This is because the form element is not stripped during document parsing, but there is no styling applied in our base stylesheet. I believe an unstyled element is treated as inline, and a block element (your table) contained in an inline element (your form) causes page layout/reflow issues.

The quickest solution is to style your form display: block;.

John Bell

unread,
May 17, 2012, 2:59:53 PM5/17/12
to dom...@googlegroups.com
that figures... its the same as the base stylesheet for most browsers: http://www.iecss.com/

John
--
You received this message because you are subscribed to the Google Groups "dompdf" group.
To view this discussion on the web visit https://groups.google.com/d/msg/dompdf/-/2L1Patx0ZbsJ.
To post to this group, send email to dom...@googlegroups.com.
To unsubscribe from this group, send email to dompdf+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dompdf?hl=en.

BrianS

unread,
May 17, 2012, 6:00:49 PM5/17/12
to dom...@googlegroups.com
Thanks for the link. There are probably a few aspects of our base stylesheet that could use an update. Reference such as this are most welcome.
Reply all
Reply to author
Forward
0 new messages