OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Header out of alignment - space before graphic


Hi Paul,
There are some property problems in the table content:

display-align="bottom"
text-align="bottom"

but I don't think those are the problem.  You might try adding a background 
color to the table cell, and add borders around the cell, block, and 
external-graphic to see what is contributing the space.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Paul Moloney" <paul_moloney@hotmail.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Monday, April 02, 2007 2:19 AM
Subject: [docbook-apps] 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.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
> 




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]