View Single Post
Old 09-26-2012, 02:47 PM   #31
Jesse Chisholm
Enthusiast
Jesse Chisholm actually enjoys Vogon poetry.Jesse Chisholm actually enjoys Vogon poetry.Jesse Chisholm actually enjoys Vogon poetry.Jesse Chisholm actually enjoys Vogon poetry.Jesse Chisholm actually enjoys Vogon poetry.Jesse Chisholm actually enjoys Vogon poetry.Jesse Chisholm actually enjoys Vogon poetry.Jesse Chisholm actually enjoys Vogon poetry.Jesse Chisholm actually enjoys Vogon poetry.Jesse Chisholm actually enjoys Vogon poetry.Jesse Chisholm actually enjoys Vogon poetry.
 
Jesse Chisholm's Avatar
 
Posts: 27
Karma: 56200
Join Date: Jul 2011
Location: California
Device: none
Quote:
Originally Posted by DiapDealer View Post
H* tags always trigger a page-break-before on the Kindle. That's not always desirable. Like chapter numbers with a (same-sized) chapter name beneath it. Nobody wants a pagebreak in between those two items, so they use a P tag with CSS to simulate a header.

I wish chapter headers were more consistently tagged, but I also understand why they're oftentimes not.
The workaround for this is, naturally:
<h1>ChapterNumber<br>Chapter Name</h1>

But there will be cases (like the TOC) where that doesn't look quite right either.

UPDATE: I see I'm responding to a much older post that I originally thought I was. Nevermind!

-Jesse

Last edited by Jesse Chisholm; 09-26-2012 at 02:54 PM.
Jesse Chisholm is offline   Reply With Quote