|
Subject: Re: XSL FO: scaling graphics From: "Sebastian Rahtz" <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 4 May 2000 00:14:32 +0100 (BST) |
Nikolai Grigoriev writes:
> > c) I want the graphic to occupy 80% of the width of the enclosing box:
> >
> > <fo:external-graphic src="foo" content-width="90%"/>
>
> NO. A quote from the draft [7.12.3 "content-width"]: "If the value is a
> percentage, the value of this property is the percentage applied to the
> intrinsic width". You get 90% of the original width, not of the surrounding
> block's.
oh DANG. back to the drawing board.
> After a thorough search, I still cannot find any evident way of
> achieving what you are asking for. Probably, there should be something like
> content-width="0.8 * from-parent('width')",
sigh. I really dont want to have to play a game like that
surely "set the graphic so that it scales up or down to fit the page
width" is a very common requirement?
Sebastian
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: XSL FO: scaling graphics, Nikolai Grigoriev | Thread | How can I sum values in multiple ro, Walther, Moritz |
| RE: IE 5.0 Mac, FileMaker Pro, & HT, Jonathan Marsh | Date | RE: Is it correct that <xsl:number>, Jonathan Marsh |
| Month |