On Aug 27, 2008, at 16:55, JonathanHeard wrote:
Hi
<snip />
I have first specified six <fo:table-column> elements and applied
the four
different shades of blue as 'background-color- to the last four
columns.
To achieve my sideways labels, the top one "Mandatory(H&S)" is a
<table-row>
containing a <table-cell number-columns-spanned="6" text-
align="right"> then
an <fo:block><fo:inline background-color="blue"
padding="2pt">TEXT</fo:inline></fo:block>
<snip />
It seems like the Left and Right padding is getting lost. Although,
in the
following example, if you imagine the "|" character being where the
background image stops, then:
Inline with padding="0":
|Mandatory (H&S)*| (This displays fine on all pages, but I
want the
background colour to surround the text more)
Inline with padding="2pt":
| Mandatory (H&S)* | on Page 1 and
|Mandatory (H&S)* | on Page 2
Note the left padding is gone, but the right padding looks to still
be 1pt,
but then a gap of 1pt (margin perhaps?? - It's explicitly set to
0px in my
source!)
Small question: have you tried playing with padding-
start.conditionality?
Seems like the effect you get is a result of the conditionality being
set to "discard" (= initial value if you use the "padding" shorthand)
see: http://www.w3.org/TR/xsl/#padding-start (the note titled "XSL
modifications to the CSS definition")
So try:
<fo:inline padding-start.length="2pt" padding-
start.conditionality="retain" ...
HTH!
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]