[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Header out of alignment - space before graphic
I've implemented a three-celled header as described at http://www.sagehill.net/docbookxsl/PrintHeaders.html#PrintHeadersText; the left cell contains a graphic, while the right one contains the name of the current chapter. All is well except there's unexplained space above the graphic, which means it's not level with the chapter name (see http://img47.imageshack.us/img47/1728/headered8.png) The graphic has the following settings: <fo:external-graphic height="1.42cm" padding-before="0cm" padding-after="0cm" padding-start="0cm" padding-top="0cm" padding-bottom="0cm" padding-end="0cm" content-height="1.42cm" display-align="bottom"> etc... I also set the region.before.extent value to 1.5cm. However, the space before the graphic pushs it down over the body text, meaning that (as a workaround) I had to set page.margin.top to 0cm (that is, the very top of the page). The section of my custom layer dealing with headers is at: http://www.pasteserver.net/824 An extract from the resulting FO file showing a typical header table is at: http://www.pasteserver.net/825 Regards, P. -- View this message in context: http://www.nabble.com/Header-out-of-alignment---space-before-graphic-tf3504806.html#a9788090 Sent from the docbook apps mailing list archive at Nabble.com.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]