I agree with the first response, this is merely a table with three columns,
with column-width="300px" ... or is there some reason that a table cannot be
used? I would guess a silly case would be to replicate a table with floats
... like this .. would do the same thing.
<?xml version="1.0" encoding="utf-8"?>
<?xep-pdf-pdf-version 1.7?>
<?xep-pdf-compress false?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:rx="http://www.renderx.com/XSL/Extensions">
<fo:layout-master-set>
<fo:simple-page-master master-name="p" page-width="11in"
page-height="8.5in">
<fo:region-body region-name="xsl-region-body"
margin=".25in"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="p">
<fo:flow flow-name="xsl-region-body" font-size="11pt">
<fo:block>
<fo:float float="left">
<fo:block-container width="1in">
<fo:block
background-color="red">Stuff</fo:block>
</fo:block-container>
</fo:float>
<fo:float float="left">
<fo:block-container width="1in">
<fo:block
background-color="yellow">Stuff</fo:block>
</fo:block-container>
</fo:float>
<fo:float float="left" clear="right">
<fo:block-container width="1in">
<fo:block
background-color="green">Stuff</fo:block>
</fo:block-container>
</fo:float>
<fo:leader/>
</fo:block>
<fo:block line-height="0pt"><fo:leader/></fo:block>
<fo:block>
<fo:float float="left">
<fo:block-container width="1in">
<fo:block
background-color="red">Stuff</fo:block>
</fo:block-container>
</fo:float>
<fo:float float="left">
<fo:block-container width="1in">
<fo:block
background-color="yellow">Stuff</fo:block>
</fo:block-container>
</fo:float>
<fo:float float="left">
<fo:block-container width="1in">
<fo:block
background-color="green">Stuff</fo:block>
</fo:block-container>
</fo:float>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
Kevin Brown
RenderX
----------------------------------------------------------------------
Date: Fri, 25 Feb 2011 11:26:37 -0500
To: "xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com"
<xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
From: Matthew Nehrbass <mnehrbass(_at_)ucg(_dot_)com>
Subject: Inline Blocks?
Message-ID:
<E13849F80986D242AB46E0B27EC71C6B5651AF18D1(_at_)SGMDEXMB01(_dot_)ucg(_dot_)com>
Is there any way to create an inline element with a fixed width?
If I am repeating through nine elements, and I have 900px to work with, I w=
=3D ould like three 300px items on each line. Is that possible?
Confidentiality Notice: This electronic message transmission contains infor=
mation which may be confidential and/or proprietary. If you are not the int=
ended recipient, be aware that any disclosure, copying, distribution or use=
of the contents of this information is prohibited unless permission has be=
en granted by the sender to forward it. If you have received this electroni=
c transmission in error, please let us know by reply and then delete it fro=
m your system
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--