Forum How do I...?

break-before: column;

CsKwg
Hello!

Is it possible to break very wide tables across multiple pages?
I was playing around with break-before: column; but without success.
See attached HTML file for details.

Currently, the relevant CSS looks like this:

th:nth-child(3),
td:nth-child(3) {
column-break-before: always;
break-before: column;
}

It had no effect.

To break a very wide table across multiple pages, the row headers also would have to be repeated.
Does such a feature exist? ( In HTML/CSS or in PrinceXML ? )

  1. wide1.zip1.1 kB

Edited by CsKwg

mikeday
Prince cannot split tables horizontally, only vertically, sorry.
CsKwg
Thank you very much! :)
howcome
However, it is possible to show the left part of an element on a left side, and the right part of an identical element on the right side:

https://css4.pub/2022/float/#spreads


Edited by howcome