View Single Post
Old 03-01-2011, 08:23 PM   #12
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Firepong View Post
You have basically hit the nail ...Also, if you have books that have words as the chapter name instead of just "Chapter 1," you can go in and add a blank space at the top of the chapters as well like so in Code Edit Mode:

Code:
<div style="display:none">
<h3> Chapter 1</h3>
</div>

<div style="display:none">
<h3>Chapter 2 </h3>
</div>

And so forth...
I use that very often when I want to make the chapter text to show up in the ToC, but not on the page. This way, I can make the chapter text whatever I want it to be as it is not being linked at all, just regular words with extra formatting to them.

Also, on the code above, I don't know how mobi will handle it, so I will not guarantee that it will still be hidden when you convert the ePub to another format. It might show up in mobi, it might stay the way it was formatted to be, I don't know.

Hope all of this helps a little bit. CHEERS


P.S. Reason why I use <h3> is cause the other 2 before it are to big for my liking. I like my words to be a little bigger than the words in the chapter themselves, unless I'm adding a graphic under the chapter title, Then I make them however big they need to be to match the size of the graphic.
That "display:none" dog doesn't hunt in MOBI; it'll show up as if it was never written. Better to use the title attribute if you want a Chapter title to appear on the ncx but not on the page.

HTH
Hitch
Hitch is offline   Reply With Quote