Re: Image placement at top of the page

"Szeak (Register Man)" <[email protected]>
Newsgroups gmane.text.xml.fop.user
Message-ID <[email protected]>
Hi,

You may need to set the width of the block-container to fop knows
where can wrap or hyphenate the text.

try the followings:

<fo:block-container position="absolute" ... width="100%">

<fo:block>

<fo:external-graphic
src="../images/map6.jpg" margin="0mm" padding="0mm"/>

</fo:block>

<fo:block keep-with-previous="always"
hyphenate="true">MAP 6: Scotland.</fo:block>

If don't work try to set the height of the container also.

Bye, Szeak

2016-03-28 14:49 keltezéssel, Ganesh Babu N írta:

Dear All,

I am trying to place the image at
the top of the page with in the region-body.

I have used <fo:block-container
absolute-position="absolute">

The image was placed at top but
the regular text is getting over lapped above the image. How
to solve this problem.

Here is my code:

<fo:block-container absolute-position="absolute"
top="0mm" text-align-last="center" overflow="hidden">

<fo:block
top="0mm">

<fo:external-graphic
src="../images/map6.jpg" margin="0mm" padding="0mm"/>

</fo:block>

<fo:block
keep-with-previous="always">

<fo:inline>MAP
6: </fo:inline>

<fo:inline
hyphenate="true">Scotland.</fo:inline>

</fo:block>

</fo:block-container>

Please help me.

Regards,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.