Subject: Re: [xsl] XSL-FO: Space before and after inline areas From: "Knut Meinke" <KMeinke@xxxxxxxxxxxxx> Date: Wed, 11 Feb 2004 15:49:25 +0100 |
Hi, :) Yippa! > [...] > by not specifying leading, > the processor can use any value between 1 and 1.2 of the line height, the > difference to the line height being the leading. > [...] Thanx Ken! ---------- <fo:block background-color="green" line-height="0"><fo:external-graphic content-width="10mm" src="file:../images/RedGif.jpg"/></fo:block> ---------- This Code is needed to seamless fit the red image in the green block. No green background before (above img , in top of img, writing mode lr-tb) nor after. Line-height = "1" remove only the small strip of background before the image. ---------- <fo:block background-color="blue" line-height="1"><fo:inline background- color="#ffffff">CONTENT</fo:inline></fo:block> ---------- Here line-height = 1 works fine and seamless fit the #fffff content in the blue box. Well, don't realy understand. But ist works. :-) Big Thanks! Mit fruchtigen Grüßen, BRAINFRUIT GmbH Knut Meinke Neue Adresse! Grethenweg 139 60598 Frankfurt Tel.: +49 (69) 848467-0 Fax: +49 (69) 848467-55 Web: www.brainfruit.de -----Ursprüngliche Nachricht----- Von: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] Im Auftrag von G. Ken Holman Bereitgestellt: Mittwoch, 11. Februar 2004 15:13 Bereitgestellt in: xsl-list Unterhaltung: AW: AW: [xsl] XSL-FO: Space before and after inline areas Betreff: Re: AW: AW: [xsl] XSL-FO: Space before and after inline areas At 2004-02-11 14:35 +0100, Knut Meinke wrote: >But i don't give any margin, indent etc! Even if i set it all to zero >there are small strips of background above and below the image. It looks >like the line "half-leading" Then as I mentioned in my earlier post (but due to the delay in distribution of posts it is timed after your post), explicitly set the leading to 0pt. You can do this by using: line-height="1" I hope this helps. ........................ Ken -- Public courses: upcoming world tour of hands-on XSL training events Each week: Monday-Wednesday: XSLT/XPath; Thursday-Friday: XSL-FO Washington, DC: 2004-03-15 San Francisco, CA: 2004-03-22 Hong Kong: 2004-05-17 Germany: 2004-05-24 England: 2004-06-07 World-wide on-site corporate, government & user group XML training! G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list --------------------------------- Der Inhalt dieser E-Mail ist vertraulich und ausschließlich für den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte, dass jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser E-Mail unzulässig ist. Wir bitten Sie, sich in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen. Aussagen gegenüber dem Adressaten unterliegen den Regelungen des zugrunde liegenden Angebotes bzw. Auftrags, insbesondere den Allgemeinen Auftragsbedingungen und der individuellen Haftungsvereinbarung. Der Inhalt der E-Mail ist nur rechtsverbindlich, wenn er unsererseits durch einen Brief entsprechend bestätigt wird. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSL-FO: Space before and , G. Ken Holman | Thread | AW: [xsl] XSL-FO: Space before and , Knut Meinke |
AW: [xsl] Embedded Stylesheet : nam, Ronald Kent Gibson | Date | RE: [xsl] Normalize / Simplify HTML, David . Pawson |
Month |