W3C home > Mailing lists > Public > www-xsl-fo@w3.org > September 2001

problem with table formatting and inline background color

From: Koti Reddy <koti01@hotmail.com>
Date: Thu, 06 Sep 2001 20:48:32 -0400
To: www-xsl-fo@w3.org, XSL-List@lists.mulberrytech.com
Message-ID: <LAW2-F139piKDo0fN6Z0000f8c0@hotmail.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&#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
Received on Thursday, 6 September 2001 20:49:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:08 GMT