On 2/23/08, James Smith [EMAIL PROTECTED] wrote:
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?
What browser are you testing in? IE has no support for paged media.
Opera supports it but with a few bugs, and Firefox had patchy support
last time I checked.
--
Richard Grevers, New Plymouth, New Zealand
Dramatic Design www.dramatic.co.nz
__
css-discuss [EMAIL PROTECTED]
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/