Difference between revisions of "Background"

From MegaZine3
Jump to navigation Jump to search
(background image)
 
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
     .
 
     .
 
     .
 
     .
 +
</book>
 +
 +
To remove the horizontal line (gradient), set the book element "bggradient" to false.
 +
 +
<book... bggradient="false"...>
 +
.
 +
.
 +
.
 +
</book>
 +
 +
To remove the reflection, set the book element "reflection" to false.
 +
 +
<book... reflection="false"...>
 +
.
 +
.
 +
.
 
</book>
 
</book>

Latest revision as of 12:46, 24 April 2011

For a background image behind your book, use the background child element of book.

<book...>

   <background>
        <box anchors="0,0,pw,ph" background="image(../images/background/bk4.jpg)"/>
   </background>
   .
   .
   .

</book>

To remove the horizontal line (gradient), set the book element "bggradient" to false.

<book... bggradient="false"...> . . . </book>

To remove the reflection, set the book element "reflection" to false.

<book... reflection="false"...> . . . </book>