xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralf Steppacher <steppac...@esteam.de>
Subject Re: Border a row?
Date Wed, 15 May 2002 19:51:11 GMT
> I'm trying to border a row in a table by using following properties :
> <fo:table-row border-color="silver" border-width="0.5mm"
> border-style="solid">
> 	<fo:table-cell>
> 		<fo:block>N/A</fo:block>
> 	</fo:table-cell>
> 	...
> </fo:table-row>
> But, It doesn't work ? What I miss?

Did you set border-collapse="collapse" or 
border-collapse="collapse-with-precedence" for your table? If you have 
not, border properties can not be applied to table-rows and you have to 
generate your border on the cell level.

See the specification at http://www.w3.org/TR/xsl/slice6.html#fo_table-row:

Only the background properties from this set apply. If the value of 
border-collapse is "collapse" or "collapse-with-precedence" for the 
table the border properties also apply.


View raw message