Chapter Heading
< DP Official Documentation:PP and PPV | DP HTML Best Practices | Case Studies | Media Types and Mobile Formats
Jump to navigation
Jump to search
DP Official Documentation - Post-Processing and Post-Processing Verification
Code
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="UTF-8" /> <title>Chapter Heading Example (Overriding ebookmaker’s CSS)</title> <style> /* <![CDATA[ */ p { text-align: justify; } h2 { text-align: center; clear: both; font-weight: normal; font-size: large; margin: 2em auto 1em auto; line-height: 1.5; } .chapter-beginning { text-align: center; } .upper-case { text-transform: uppercase; } body { width: 80%; max-width: 40em; margin: auto; } .chapter { page-break-before: always; } h2.no-break { page-break-before: avoid; padding-top: 0; } /* ]]> */ </style> </head> <body> <div class="chapter"> <img src="images/decoration.png" width="472" height="107" alt=""/> </div> <h2 class="no-break">CHAPTER III.<br/> <small>MR. LONGCLUSE OPENS HIS HEART.</small></h2> <p><span class="upper-case">The</span> old housekeeper had drawn near her window, and stood close to the pane, through which she looked out upon the star-lit night. The stars shine down over the foliage of huge old trees. Dim as shadows stand the horse and tax-cart that await Mr. Longcluse and Richard Arden, who now at length appear. The groom fixes the lamps, one of which shines full on Mr. Longcluse's peculiar face.</p> </body> </html>
Screenshot
To comment or request edits to this page, please contact jjz or windymilla.