Have one of the cells wrap text so it grows taller than the other cells. Then you'll see the problem.
Scott -----Original Message----- From: Shkuro, Yuri [mailto:[EMAIL PROTECTED]] Sent: Monday, October 15, 2001 2:47 PM To: '[EMAIL PROTECTED]' Subject: RE: Table Headings I put the borders under each cell, and it works fine. <fo:table-cell border-bottom-color="black" border-bottom-width="1.0pt" border-bottom-style="solid"> Yuri -----Original Message----- From: Scott Moore [mailto:[EMAIL PROTECTED]] Sent: Monday, October 15, 2001 2:37 PM To: '[EMAIL PROTECTED]' Subject: RE: Table Headings Karen, I have another table related question. I'm trying to add gridlines into the table body by specifying: border-width="1px" border-color="black" border-bottom-style="solid" on the <fo:block/> underneath each cell. This only works if each cell is the same height. Although the text is all rows start on the same line, the blocks are only as big as they need to be, thus making the border impossible to line up per cell, if some cells have to wrap text. I've tried putting those attributes on the <fo:table-row> object, but they are ignored. Is there a way to make gridlines work for variable height cells? Thanks, Scott -----Original Message----- From: Karen Lease [mailto:[EMAIL PROTECTED]] Sent: Sunday, October 14, 2001 11:46 AM To: [EMAIL PROTECTED] Subject: Re: Table Headings Hi Scott, It sounds like you may be putting the background on the block containing the text. Try putting it on the table-cell itself or even on the row. HTH, Karen Scott Moore wrote: > > I'm creating tables for FOP that have a black background with white text in > the table header. The rest of the table (the data) is inverse, with black > characters and white background. > > If the header text in a column doesn't fit on one line, it will wrap, which > is a good thing. The problem is the rest of the headers that don't wrap, > their black backgrounds stay on one line. Therefore, the whole table header > looks uneven and ugly. Here's an example, the # are the black background: > > --------------------------------- > -#Column#1######|#This#is#column| > - |2##############| > --------------------------------- > - Table data | blah blah blah| > --------------------------------- > > Are there any settings that can automatically fix this? I've tried using > "padding-bottom='1em'" for the first column, and that kinda works, but it's > still slightly off. The problem is I won't always know which column > headings wrap because the fonts are user configurable. > > Thanks for any help! > Scott > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
