/Gunnar
At 18:02 2004-05-06, you wrote:
Gunnar Liljas wrote:Hi! I a 2 column document we're creating, the designers have decided that they want to include a black vertical line in the gap between the columns. Any good idea on how to accomplish this?
There are a couple of ways to do this:
1. border-right (and an optional border-left):
<fo:table-row> <fo:table-cell border-right="1pt solid #000000"> <fo:block> Column 1 Content </fo:block> </fo:table-cell> <fo:table-cell border-left="1pt solid #000000"> <fo:block> Column 2 Content </fo:block> </fo:table-cell> </fo:table-row>
2. A 'third' column between the two w/ a bg color:
<fo:table-row> <fo:table-cell background-color="#ffffff"> <fo:block> Column 1 Content </fo:block> </fo:table-cell> <fo:table-cell background-color="#000000"> <fo:block> #160; </fo:block> </fo:table-cell> <fo:table-cell background-color="#ffffff"> <fo:block> Column 2 Content </fo:block> </fo:table-cell> </fo:table-row>
Now if you want the center to be 'white' with just a line, you could also put padding inside of the content columns (and still use the border-left/right).
Hope this helps!
Web Maestro Clay
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
