![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Firefox 3 (like older versions) ignores TR { page-break-before: always } for the first row of a TBODY. Sample page: http://www.unics.uni-hannover.de/nhtcapri/temp/1000.html Choose "Print Preview". Internet Explorer 6/7 prints every row onto a new page; Firefox does not. Is this an obscure bug? Or is FF right? |
#3
| |||
| |||
|
|
CSS 2.1 states that only block-level elements (which TR is not) must support page-break, while other elements (table rows are an example) may support it. So I'll go off of CSS 3's draft here (<http://dev.w3.org/csswg/css3-page/>). |
#4
| |||
| |||
|
|
Fri, 29 Aug 2008 11:32:45 -0400 from Joshua Cranmer <Pidgeot18 @verizon.invalid>: CSS 2.1 states that only block-level elements (which TR is not) must support page-break, while other elements (table rows are an example) may support it. So I'll go off of CSS 3's draft here (<http://dev.w3.org/csswg/css3-page/>). Que? If table rows are not identical to TR, then what are they? |
#5
| |||
| |||
|
|
CSS 2.1 only explicitly requires that page-break be supported by block-level elements. It also permits implementors to support other elements, citing table rows (i.e., TR) explicitly. So I never meant to imply a distinction between the two. Apologies if it sounded otherwise. |
#6
| |||
| |||
|
|
IE does not even support display: table-row |
![]() |
| Thread Tools | |
| Display Modes | |
| |