Posted by Jukka K. Korpela on 06/21/07 21:52
Scripsit Craig Taylor:
> Whenever I try to use the following CSS rule nothing happens:
> TD {
> page-break-before: always
> }
Maybe we shoudn't be surprised, since by CSS specs, the property applies to
block-level elements only.
> If I change the TD to a TR then my table breaks on every line like it
> should.
So why don't you do that? Why would you start a new page before a table cell
but not before the row to which the cell belongs.
TR isn't block-level either, so this is somewhat puzzling. Maybe we aren't
supposed to start a new page befoe a row. Maybe we should try putting a
block element inside a cell and assign the CSS rule to it.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
[Back to original message]
|