![]() |
#16 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,805
Karma: 168802811
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Other than both books being terrible examples of coding, Shadows of Ecstasy has the coding for a drop cap while War in Heaven does not. Oddly the version of War in Heaven in the epub secion of MobileRead's library does have dropcaps and used header tags for the chapter headers.
In Shadows of Ecstasy, the calibre1 and calibre2 classes set font size to 1.125em and 1.5em respectively while in War in Heaven, the only style applied to the first paragraph sets the top and bottom margin to 1em. I would also suggest changing the use of pt (an absolute unit) in War in Heaven to a relative unit (em for example). Last edited by DNSB; Yesterday at 12:53 PM. |
![]() |
![]() |
![]() |
#17 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,641
Karma: 8566337
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
I don't see any drop cap in Shadows of Ecstasy; I only see raised caps; it's not the same thing. By the way, the xhtml code employed is not the best.
You have raised caps in Shadows because the first letter has the style "calibre1": Code:
.calibre1 { font-size: 1.5em; line-height: 1.2 } Code:
.calibre6 { font-size: 1.5em; line-height: 1.2 } For example, in Chapter One you should have the following: Code:
<p class="calibre2"><span class="calibre6">T</span>he telephone bell was ringing wildly, but without result, since there was no one in the room but the corpse.</p>
|
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Connoisseur
![]() Posts: 93
Karma: 10
Join Date: Dec 2008
Device: Kindle Paperwhite, TabPRO 8.4, Galaxy Light, Sony PRS-300
|
Quote:
|
|
![]() |
![]() |
![]() |
#19 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,696
Karma: 103837201
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
|
![]() |
![]() |
![]() |
Tags |
format questions |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Drop caps? | jackm8 | Amazon Kindle | 5 | 02-07-2024 12:33 PM |
Best Way for Drop Caps | Wlan | ePub | 62 | 07-03-2018 07:11 PM |
Drop caps | RandyK | Conversion | 2 | 05-18-2014 09:13 PM |
Is there a way to strip drop caps? | ficbot | Calibre | 2 | 08-30-2013 11:06 AM |
Drop caps | huebi | ePub | 8 | 03-04-2012 06:25 AM |