Sent by James Smith on 22 February 2008 14:02
I have a table that looks similar to...
Product Name - Other details
Order
Order
Order
Another Product - Other Details
Order
Yet Another Product - Other Details
Order
Order
When printing I would like the order detail rows to be kept with the product
details and not page break in between (product and order) or (order and
order) but only between (order and product).
I know that css has the page-break-before, page-break-after and
page-break-inside properties but I can't figure out how to use them to
achieve this. I have even tried enclosing the groups in divs with
page-break-inside set to "avoid" and that didn't work. I tried setting
various combinations of before and after avoids with no success.
I have tried using a tgroup around each group and a tbody around each group,
again with page-break-inside set to "avoid" but nothing works.
Any ideas?
--
Jay
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.20.9/1292 - Release Date: 21/02/2008
16:09
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/