This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

problem with table formatting and inline background color


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&#10;	     " height="8.39mm&#10;	     "/>
<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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]