> -----Original Message----- > From: Patrick JUSSEAU [mailto:[EMAIL PROTECTED] > <snip/> > > case 2: if view_height is greater than the image's height, then I want > to display the image at its actual size and display it at the center of > its viewport. Doing something like this does not work: > > <fo:block background-color="white" text-align="center"> > <fo:external-graphic content-height="25px" height="100px" > src="url(image.jpg)"/> > </fo:block> >
Hi, Try using 'display-align="center"' on the surrounding fo:block. <fo:block background-color="white" text-align="center" display-align="center"> <fo:external-graphic .../> </fo:block> Hope this helps! Greetz, Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]