Sent by Syntactic: Jim Wilkinson on 27 August 2004 20:08
Hi Arthur,
>> ... Is there a way of keeping each row of the
>> table together on the printed version?
Can't offer you much joy, I'm afraid. The page-break properties are poorly
supported by browsers: see the section on "Page breaks" on the Wiki page
for references:-
http://css-discuss.incutio.com/?page=PrintStylesheets
The most obvious solution, for those browsers that *do* offer support,
would be:-
tr {
page-break-inside: avoid;
}
but, re-reading the CSS2 spec, it says that the page-break properties
apply only to block-level elements (Sec 13.3.1). The <tr> element is not
strictly block-level but is table-row (as in display: table-row).
Can any wise person advise what exactly the CSS2 spec means by
"block-level": (1) as in display: block (which rules out <tr>); or (2) as
in block-level-not-inline?
--
Jim Wilkinson
Cardiff, Wales UK
Opera e-mail client: http://www.opera.com/m2/
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/