![]() |
#1 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10
Karma: 6500
Join Date: Sep 2012
Location: Grass Valley, CA
Device: kindle
|
Kindle Newbie needs "template" HTML & CSS
Hi folks,
I'm an old multimedia programmer who is crashing into digital printing and ePUB. Can anyone point me at a simple template of a valid Kindle file in HTML & CSS? (I.e., before it gets rolled into MOBI format.) Whenever I work in a new area, I find having a sample of related code to be a huge help. HTML and CSS aren't exactly new to me, but their application to Kindle is. I have Kindle's HTML Formatting Guidelines and Custom HTML Tags documents at hand, but they leave a lot to the the imagination. For instance, Guidelines says "normal" text must use the default font family, but it does not say what that font family is. Or even if it needs to be defined. With a valid HTML- and CSS-for-Kindle file around, I could just glance at the code and say "Aha! That's what they mean," instead of thrashing around. Don't need anything esoteric. I'm just trying to get an historical fiction into Kindle from InDesign CS5. There are a couple of illustrations in the front of the book. I'm doing the Sigil tutorials now with an eye to assembling the book there, but any suggestions on workflow gratefully accepted. TIA Richard Hurley Grass Valley Multimedia |
![]() |
![]() |
![]() |
#2 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10
Karma: 6500
Join Date: Sep 2012
Location: Grass Valley, CA
Device: kindle
|
I'm new here – just found the working "Similar Threads" function at the bottom. Fantastic! I spent too much time on the Adobe CS forums to believe that was really possible. Found the Alice in Wonderland samples, but would still be grateful for any kibitzing on workflow or leads to other examples.
TIA |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,544
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
For a MOBI you don't need any CSS. You can use it, but the converter will turn it into pseudo-HTML code before it gets packed into the MOBI, so the final MOBI will contain no CSS at all. Here is an example of the source code for Kipling's Just So Stories (the conversion to MOBI was done with MobiPerl). |
|
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,691
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
(KF8 basically added support for most ePub2 elements and a handful of HTML5 elements to .mobi files.) |
|
![]() |
![]() |
![]() |
#5 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
The problem with crossposting a new thread (this one) to two forums is that the replies are distributed between them. Here is the OTHER half of this thread:
https://www.mobileread.com/forums/sho...d.php?t=190424 EDIT: I see that the other thread had a reply that suggested using this forum instead. It would have been better to move the thread here (using the "Report Post" button to the left of the first post) instead of forking it. Now both threads have ongoing discussions. At least the link above lets you follow both halves of this thread. ![]() Last edited by geekmaster; 09-10-2012 at 08:40 PM. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle newbie needs "template" HTML & CSS | Rich_H | Kindle Developer's Corner | 12 | 09-10-2012 11:16 PM |
Fixed Layout Sample ".mobi" file with package(html, css, opf, ncx files). | Sushil | Kindle Fire | 1 | 01-13-2012 07:16 AM |
Feature Request: configurable space setting for "Insert blank line" in "Look & Feel" | therealjoeblow | Calibre | 15 | 07-25-2011 03:14 PM |
epub CSS versus "Regular" CSS | konrad | ePub | 4 | 02-18-2011 09:29 AM |
Kindle DX optimal "page" size - PDF or Word template | guiyoforward | Amazon Kindle | 12 | 09-28-2010 07:05 PM |