Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If table header is on bottom of page, but all data is on the next page, the columns do not line up correctly #91

Closed
PhenX opened this issue Dec 6, 2012 · 1 comment

Comments

@PhenX
Copy link
Member

PhenX commented Dec 6, 2012

Original author: batssha...@gmail.com (October 28, 2009 18:35:03)

  1. Render a table with a <thead> and <tbody> section.
  2. Add content above to push the table down the page until the headers
    render on the first page but there is no room for the data
  3. We are using the following css:

thead { display: table-header-group; }

The headers render on the first page and the data on the next page, but the
headers do not align with the data.

In addition to the alignment, it is interesting that the thead section will
re-render on the 2nd page if any tbody rows are rendered on the first page,
but will not re-render if there are no tbody rows on the first page.

I would expect one of the following:

  • The headers render on the first page and on the second page
  • The headers are not rendered on the first page instead being moved after
    the page break

I am using the 0.6.0alpha2 tag on both Cent OS and Mac OS X.

I can't give you my sample html input because it is private.

Original issue: http://code.google.com/p/dompdf/issues/detail?id=84

@PhenX
Copy link
Member Author

PhenX commented Dec 6, 2012

This issue is a duplicate of #55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant