Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 04-07-2011, 07:44 AM   #1
soparch
Enthusiast
soparch began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Jun 2010
Device: none
How do I get these to line up?

I have a table of contents that looks like this

Preface
Introduction
Ric Charlesworth >> Hockey Coach
Wayne Bennett >> Rugby League Coach
Ron Barassi >> AFL Coach

I have lined them up by placing them in a table format and while they will stay perfect lined up at all size fonts on the Kindle it does mean the user has to click to get into the table before they can go down to get the link they want. What I'm really after is a way to line up the three columns at all size fonts without a Table that works on the Kindle. Any help would be appreciated.
Thanks
Soparch
soparch is offline   Reply With Quote
Old 04-07-2011, 02:08 PM   #2
DreamWriter
Books are brain food.
DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.
 
DreamWriter's Avatar
 
Posts: 2,950
Karma: 4836916
Join Date: Nov 2010
Location: U.S.
Device: Paperwhite · Fire HD6/HD8/HD10 · Galaxy Tab A7
I'm not sure if this is what you're trying to accomplish, but you could try wrapping the text within <pre> and </pre> HTML tags, using spaces or tabs to line up the text. It would look something like this:

Code:
<pre>
Preface 
Introduction 
Ric Charlesworth	Hockey Coach
Wayne Bennett      	Rugby League Coach
Ron Barassi             AFL Coach
</pre>
This code will use Kindle's monospaced font, though.
DreamWriter is offline   Reply With Quote
Advert
Old 04-08-2011, 03:10 AM   #3
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Does Mobipocket support the "<pre>" tag?
HarryT is offline   Reply With Quote
Old 04-08-2011, 04:14 AM   #4
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by HarryT View Post
Does Mobipocket support the "<pre>" tag?
It seems so: http://www.mobipocket.com/dev/articl...TagRef_OEB.htm
Jellby is offline   Reply With Quote
Old 04-08-2011, 05:59 AM   #5
Billi
Wizard
Billi ought to be getting tired of karma fortunes by now.Billi ought to be getting tired of karma fortunes by now.Billi ought to be getting tired of karma fortunes by now.Billi ought to be getting tired of karma fortunes by now.Billi ought to be getting tired of karma fortunes by now.Billi ought to be getting tired of karma fortunes by now.Billi ought to be getting tired of karma fortunes by now.Billi ought to be getting tired of karma fortunes by now.Billi ought to be getting tired of karma fortunes by now.Billi ought to be getting tired of karma fortunes by now.Billi ought to be getting tired of karma fortunes by now.
 
Billi's Avatar
 
Posts: 3,388
Karma: 14190103
Join Date: Jun 2009
Location: Berlin
Device: Cybook, iRex, PB, Onyx
As you're working with the Mobipocket Creator: it uses the <tt> tag to the same effect and to this tag the <pre> will be converted while building the mobi file.
Billi is offline   Reply With Quote
Advert
Old 04-08-2011, 07:17 AM   #6
soparch
Enthusiast
soparch began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Jun 2010
Device: none
Thanks dreamweaver for your help. I must admit I didn't think mobi supported the <pre> tag. Still if it does that certainly opens up possibilities. Does this only work with a monospaced font on the Kindle? Is there any way of getting to work with a normal font.
Soparch
soparch is offline   Reply With Quote
Old 04-08-2011, 10:35 AM   #7
DreamWriter
Books are brain food.
DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.
 
DreamWriter's Avatar
 
Posts: 2,950
Karma: 4836916
Join Date: Nov 2010
Location: U.S.
Device: Paperwhite · Fire HD6/HD8/HD10 · Galaxy Tab A7
I know that KindleGen 1.0+ does support the <pre> tag. Unfortunately, I do not know of any way to get the spacing to work with regular fonts other than in a table, which doesn't work well on the Kindle.

Last edited by DreamWriter; 04-08-2011 at 11:15 AM.
DreamWriter is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
One line more, one line less Histerius Kindle Formats 2 03-10-2011 04:29 AM
Troubleshooting My K3 got the black line pchrist7 Amazon Kindle 18 12-06-2010 09:41 AM
I'm in line Tangabird Introduce Yourself 4 11-12-2009 08:13 AM
Line across the screen Gibbo Bookeen 16 12-06-2007 02:50 PM
Line on the screen jpchan Sony Reader 13 09-12-2007 02:39 PM


All times are GMT -4. The time now is 12:01 PM.


MobileRead.com is a privately owned, operated and funded community.