xsl-list
[Top] [All Lists]

Re: pointed border

2004-02-23 08:20:49
G. Ken Holman wrote:

At 2004-02-20 11:54 +0100, Herwig Posedu wrote:

i need to make a block or a rect with a border which is "dotted". how can i do this?


border-style="dotted"

Section 6.7.10 ... and it applies to all borders, not just table cells.

hi!
unfortunately that does not work. in my code as you can see i make 2 cells which should appear as a "solid block" and the second one as a dotted block. but both are solid. why is the second one not dotted?

<fo:table>
                 <fo:table-column column-width="30mm" />

                 <fo:table-column column-width="8.5mm" />

                 <fo:table-column column-width="40mm" />

                 <fo:table-column column-width="8.5mm" />
                 <fo:table-body>
                    <fo:table-row>
<fo:table-cell border-width="0.0mm" border-style="solid" border-color="black"> <fo:block text-align="start" start-indent="0mm" space-before="0mm" space-after="0mm" font-weight="normal" font-size="8pt" line-height="8.5mm">
                          solid block
                          </fo:block>
                       </fo:table-cell>

<fo:table-cell border-width="0.2mm" border-style="solid" border-color="black"> <fo:block text-align="start" start-indent="0mm" space-before="0mm" space-after="0mm" font-weight="normal" font-size="8pt" line-height="8.5mm">
                          </fo:block>
                       </fo:table-cell>

<fo:table-cell border-width="0.0mm" border-style="solid" border-color="black"> <fo:block text-align="start" start-indent="10mm" space-before="0mm" space-after="0mm" font-weight="normal" font-size="8pt" line-height="8.5mm">
                          dotted block <!--does not work :( -->
                          </fo:block>
                       </fo:table-cell>

<fo:table-cell border-width="0.2mm" border-style="dotted" border-color="black"> <fo:block text-align="start" start-indent="0mm" space-before="0mm" space-after="0mm" font-weight="normal" font-size="8pt" line-height="8.5mm">
                             <fo:inline color="white">.</fo:inline>
                          </fo:block>
                          </fo:table-cell>
</fo:table-row>
                 </fo:table-body>
              </fo:table>


--
Herwig Posedu

unycom Information Technology Services GmbH
Schmiedlstrasse 1/III
A-8042 Graz

Tel: ++43/316/818828-19
Fax: ++43/316/818828-38

herwig(_dot_)posedu(_at_)unycom(_dot_)com
www.unycom.com




XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>