This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
problem with table formatting and inline background color
- To: www-xsl-fo at w3 dot org, XSL-List at lists dot mulberrytech dot com
- Subject: [xsl] problem with table formatting and inline background color
- From: "Koti Reddy" <koti01 at hotmail dot com>
- Date: Thu, 06 Sep 2001 20:48:32 -0400
- Reply-To: xsl-list at lists dot mulberrytech dot com
I am using FOP0.201 and I find these 2 features are not working. I would
appreciate if anyone can tell me if they are not supported or I am not using
them correctly.
1. The following code for having background color for text is not working.
<fo:inline background-color="blue">Explain how to avoid the
damage.</fo:inline>
2. The table formatting below causes the word "Caution" to be printed over
the table border. I want the text to be inside the table cell.
<fo:table>
<fo:table-column column-width="189.49mm"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell width="231.09mm" height="17.29mm" border-style="solid"
border-width="0.35">
<fo:block text-align="justify">
<fo:block text-align="justify" padding-bottom="1pt"
border-top-width="medium" border-top-style="none"
border-bottom-width="0.75pt" border-bottom-color="black" padding-top="0in"
border-bottom-style="solid" padding-right="0in" border-right-width="medium"
padding-left="0in" border-left-width="medium" border-right-style="none"
border-left-style="none">
<fo:block text-align="center" padding-bottom="0in" border-top-width="medium"
border-top-style="none" border-bottom-width="medium" padding-top="0in"
border-bottom-style="none" padding-right="0in" border-right-width="medium"
padding-left="0in" border-left-width="medium" border-right-style="none"
border-left-style="none">
<fo:external-graphic
src="file:/iwmnt/default/main/dev/WORKAREA/wa2/images/sw.gif"
width="9.54mm " height="8.39mm "/>
<fo:inline font-size="16.65pt">
<fo:inline font-weight="bold">CAUTION</fo:inline>
</fo:inline>
</fo:block>
</fo:block>
<fo:block text-align="center">
<fo:inline font-weight="bold">EQUIPMENT DAMAGE</fo:inline>
</fo:block>
<fo:block text-align="center">
<fo:inline background-color="yellow">Explain type of equipment damage and
what consequencesof not avoiding the damage are.</fo:inline>
<fo:block>
</fo:block>
<fo:block>
</fo:block>
<fo:inline background-color="blue">Explain how to avoid the
damage.</fo:inline>
</fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
I would appreciate if someone can help me.
-koti
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list