Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-29-2011, 08:00 AM   #1
vogella
Junior Member
vogella began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Oct 2011
Device: Kindle
CSS template for epub for the mobi conversioin

I'm currently creating epub books and converting them to mobi.

I'm not familiar with the possibilities of styling for the Kindle device (mobi).

I assumed that Amazon would provide a default styling sheet for epub so that the mobi result would look good but was unable to find one (searching with Google and on the Amazon site).

Can someone suggest a good default CSS which I could use in in my epub so that I get a good mobi result?
vogella is offline   Reply With Quote
Advert
Old 10-29-2011, 09:02 AM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 15,175
Karma: 82631288
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
The CSS from an epub file must be converted (by kindlegen) to HTML 3.2 attributes in the mobi file, so keeping the CSS extremely simple is always the best approach. Unfortunately, the only way to find out what works best (or at all) is through trial and error (and of course by looking through the threads here at MR to find what others may have stumbled upon).
DiapDealer is offline   Reply With Quote
Old 10-29-2011, 11:27 AM   #3
dwig
Wizard
dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.
 
dwig's Avatar
 
Posts: 1,269
Karma: 2230068
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Dell Venue 8 Pro - Retired:Kindle 3, Clie UX50, T415, ...
Quote:
Originally Posted by vogella View Post
I'm currently creating epub books and converting them to mobi.

I'm not familiar with the possibilities of styling for the Kindle device (mobi).

I assumed that Amazon would provide a default styling sheet for epub so that the mobi result would look good but was unable to find one (searching with Google and on the Amazon site).

Can someone suggest a good default CSS which I could use in in my epub so that I get a good mobi result?
What CSS in an ePub will convert well to MOBI depends a lot on what conversion tool is used.

You might give the Amazon Kindle Publishing Guidelines ( http://www.amazon.com/gp/feature.htm...cId=1000234621 ) a read with particular attention to the "HTML Guidelines" section. Any tag attribute supported in MOBI should be supported by most conversion tools when encountered in its CSS equivalent.
dwig is online now   Reply With Quote
Old 10-29-2011, 03:50 PM   #4
vogella
Junior Member
vogella began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Oct 2011
Device: Kindle
Thanks for the answers.

Are there any example CSS which work fine with epub and mobi which I could use as a starting point?
vogella is offline   Reply With Quote
Old 10-29-2011, 04:08 PM   #5
dwig
Wizard
dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.
 
dwig's Avatar
 
Posts: 1,269
Karma: 2230068
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Dell Venue 8 Pro - Retired:Kindle 3, Clie UX50, T415, ...
I use this as a starting point:
Attached Files
File Type: zip stylesheet.zip (310 Bytes, 710 views)
dwig is online now   Reply With Quote
Advert
Old 11-02-2011, 09:19 AM   #6
vogella
Junior Member
vogella began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Oct 2011
Device: Kindle
@dwig Thanks. This one looks easy. :-)
vogella is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why, During ePub to ePub Conversion does Calibre changes existing CSS classes? JSWolf Conversion 7 08-06-2011 08:32 PM
Override ePub CSS with userStyle.css? barium Sony Reader Dev Corner 11 07-16-2011 04:25 PM
page-template.xpgt conversion problems in ePub slantybard Conversion 17 04-19-2011 06:44 AM
ePub to mobi, CSS and % Barty Conversion 1 03-24-2011 10:50 PM
epub CSS versus "Regular" CSS konrad ePub 4 02-18-2011 10:29 AM


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


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