|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#46 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Last edited by JSWolf; 06-25-2025 at 04:41 PM. |
|
![]() |
![]() |
![]() |
#47 | |
Connoisseur
![]() Posts: 89
Karma: 10
Join Date: Dec 2024
Device: Tolino Shine 5
|
Quote:
No more problems with captions on on the picture – but I can still make them split in Books and ADE 4.5. Your test file as well. |
|
![]() |
![]() |
![]() |
#48 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,771
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
I employ both; webkit code for those ereader that work with webkit code (Readium, Bibi Reader, JSReader, Thorium, Cantook, Kobo for Android, PocketBook, Reasily, Lithium) and standard code for those ereaders that doesn't honor webkit code. Have you ever read this by any chance? https://webkit.org/css-status/# That is webkit. And, how many properties are non-standard compared to standard? I employ everything that work, for that reason my epubs can be read them practically on any ereader (on epub2 ereaders, the epubs look very nice and on epub3 ereaders, they look great). |
|
![]() |
![]() |
![]() |
#49 | |
Connoisseur
![]() Posts: 89
Karma: 10
Join Date: Dec 2024
Device: Tolino Shine 5
|
Quote:
We're supposed to jump through hoops to ensure backwards compatibility with RMSDK’s broken error parsing–which certainly isn’t ePub2 compliant–but prefixed properties are supposed to be a problem? Also, ADE 4.5 does support several webkit-prefixed properties. I have successfully used -webkit-column-break-after for page breaks and -webkit-initial-letter for drop caps. The standard "initial-letter" is not supported. |
|
![]() |
![]() |
![]() |
#50 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#51 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
There is a way around the older RMSDK's CSS bug. Use @support for any CSS that causes RMSDK to ignore the CSS. The other issue is that there are a lot of Readers out there in use that use an older RMSDK that does not support webkit. For example, Kobo uses some version 3 RMSDK and they are current Readers that are used by a lot of people. Some still use a Sony Reader which uses an even older RMSDK. |
|
![]() |
![]() |
![]() |
#52 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,771
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Last edited by RbnJrg; 06-25-2025 at 05:29 PM. |
|
![]() |
![]() |
![]() |
#53 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,572
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
This thread is like watching a slow-motion Trainwreck over and over again.
Jon, you need to give it a rest. And everybody else needs to stop trying to change his mind. |
![]() |
![]() |
![]() |
#54 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,771
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
ADE ignores @supports and if inside any @supports statement ADE finds something it doesn't like (i.e. calc()), then all the css stylesheet will be ignored. You can't rely on @supports to avoid ADE bugs.
|
![]() |
![]() |
![]() |
#55 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,591
Karma: 11722446
Join Date: Aug 2010
Location: NE Oregon
Device: Kobo Sage, Pocketbook Era, Kobo Forma, Kindle Oasis 2
|
Quote:
However, the question in my mind is, does KINDLE work with these @supports EPUB rules, being that any epub will be converted? I don't want to get too complicated, my old brain is happiest with keeping things simple. KINDLE is the first device so far that I've encountered with "first-letter" support, but NOT "initial-letter." Not to say I won't encounter more such, but Kindle is definitely a major player in the e-reading world. I'm fine with things falling back to straight plain text; that's not critical mass, as that's how anyone reading epub on a Kobo would see the book as well. |
|
![]() |
![]() |
![]() |
#56 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,771
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Code:
.noIndent { text-indent: 0; } .dropCap { float: left; font-weigth: bold; font-size: 3.6em; /* or whatever you want to write here */ margin: 0 5px 0 0; } Code:
<p class="noIndent"><span class="dropCap">L</span>orem ipsum...</p> Code:
p.dropCap { text-indent: 0; } p.dropCap::first-letter { float: left; font-weigth: bold; font-size: 3.6em; /* or whatever you want to write here */ margin: 0 5px 0 0; } Code:
<p class="dropCap">Lorem ipsum...</p> Last edited by RbnJrg; 06-25-2025 at 07:08 PM. |
|
![]() |
![]() |
![]() |
#57 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,591
Karma: 11722446
Join Date: Aug 2010
Location: NE Oregon
Device: Kobo Sage, Pocketbook Era, Kobo Forma, Kindle Oasis 2
|
Quote:
The book will look nice enough on Kindle without the drop caps. And I'm not going to get drop caps everywhere anyway unless I employ spans around the individual first letter, so Kindle can live in the vintage ADE boat along with all the other older readers. The thing I like about initial-letter is it seems to be mostly free of all the trouble I have when reading ebooks that contain drop caps. I've not seen initial-letter dropcaps collapse into tiny dots, nor seen the drop cap disappear entirely! Besides, just because Kindle doesn't honor initial-letter NOW, doesn't mean it might not get the capability at a future date. A gal can always stay hopeful! Thanks for your insights though! Very appreciated, it's just that I have to keep things manageable and relatively simple. I can only push the line a little bit as I'm not a natural at this coding stuff. But I am willing to do so to the extent I'm capable. |
|
![]() |
![]() |
![]() |
#58 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#59 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,771
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Code:
body { font-size: 1em; /* to have a consistent font-size for all ebook */ } p { margin: 0; text-align: justify; text-indent: 1.2em; line-height: 1.2em; font-size: 100%; /* now that 100% is 100% of font-size of body */ } p.drop { text-indent: 0; } .dropCap { float: left; line-height: 1.2em; font-size: 360%; /* Or the size you wish */ font-weight: bold; margin: -0.02em 5px -0.03em 0; /* Here you could need change these values */ } |
|
![]() |
![]() |
![]() |
#60 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle Epub vs Standard Epub | JudahsShadow | Library Management | 3 | 05-01-2023 01:55 PM |
Linux ePub reader app that best fullfills the ePUB standard | celiapgt | Reading and Management | 12 | 04-19-2022 12:42 AM |
Help revise the Epub standard | Nate the great | General Discussions | 8 | 04-18-2010 11:29 AM |
Standard Reader for Epub | bhuvana786 | ePub | 6 | 08-21-2009 11:00 AM |