Definitive XSL-FO
9.6.1 Displaying backgrounds
Properties control the background colors and images of areas.
An area's background is always within its padding rectangle, as shown in Figure 9-8.
Figure 9-8. Background visibility
Precedence is given to the contained areas.
9.6.2 Decorating page columns using a background
Consider the need to decorate columns of a page.
Example 9-3 shows excerpts from Figure 9-8. Example 9-3 Keeping a group of areas together in a reference area
Line 01 <region-body region-name="frame-body" 02 column-count="2" column-gap=".5cm" 03 background-position-horizontal="center" 04 background-repeat="repeat-y" 05 background-image='url(/books/1/247/1/html/2/vertical-line.bmp)'/> 06 ... 07 <block background-color="silver">This is a test</block> 08 ... Figure 9-9 shows the rendering of the background image apparently between the two columns. Figure 9-9. A decoration between page columns
Of note:
|