table examples
Page
Table 1: cell borders
green left
red top
blue right
yellow bottom
all
text for an extra line in the table row
2pt
2pt
2pt
2pt
2pt
text for an extra line in the table row
10pt
10pt
10pt
10pt
2pt - 10pt
text for an extra line in the table row
0.5pt
1pt
2pt
10pt
20pt
text for an extra line in the table row
Table 2: row borders
row with
green left
border
text for an extra line in the table row
row with
red top
border
text for an extra line in the table row
row with
blue right
border
text for an extra line in the table row
row with
yellow bottom
border
text for an extra line in the table row
row with
all
border
text for an extra line in the table row
Table 3: column borders
table columns
with
different
borders
text for an extra line in the table row
extra
table row
text for an extra line in the table row
Table 4: column borders over page
table columns
with
different
borders
text for an extra line in the table row
extra
table row
text for an extra line in the table row
Table 5: body borders
body with
left border
text for an extra line in the table row
body with
top border
text for an extra line in the table row
body with
right border
text for an extra line in the table row
body with
bottom border
text for an extra line in the table row
body with
all border
text for an extra line in the table row
Table 6: table borders
table with
left border
text for an extra line in the table row
table with
top border
text for an extra line in the table row
table with
right border
text for an extra line in the table row
table with
bottom border
text for an extra line in the table row
table with
all border
text for an extra line in the table row
Table 7: combinations
a
b
c
d
e
text for an extra line in the table row
a
b
c
d
e
text for an extra line in the table row
a
b
c
d
e
text for an extra line in the table row
a
b
c
d
e
text for an extra line in the table row
a
b
c
d
e
text for an extra line in the table row
a
b
c
d
e
text for an extra line in the table row
Table 8: This is a table with border properties (border-style,
border-width, border-color) defined at the fo:table-column and
fo:table-row level. Not all properties are currently
implemented--check the compliance page on the FOP website for current
implementation status.
(1,1)
(1,2)
(1,3)
(2,1)
(2,2)
(2,3)
(3,1)
(3,2)
(3,3)
Table 9: This table has border properties defined at the
fo:table-cell level.
(1,1)
(1,2)
(1,3)
(2,1)
(2,2)
(2,3)
(3,1)
(3,2)
(3,3)
Table 10: This example is the first example given in the CSS2 border conflict
resolution rules.
(See http://www.w3.org/TR/REC-CSS2/tables.html#border-conflict-resolution)
When all properties are resolved and implemented, the table below should
resemble the one shown in this section of the CSS2 specification.
Check the FOP compliance page for current implementation status.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Table 11: This example is a test of Rule 4 of the CSS2 border conflict
resolution rules.
(See http://www.w3.org/TR/REC-CSS2/tables.html#border-conflict-resolution)
This rule gives the order of precedence of resolution to be cell (highest),
then row, then column, then table (lowest), in those cases where
the border properties differ only on color.
cell, row, col
row
cell, row
row
row, col
col
none
none
none
col
cell, col
none
cell
none
col