![]() |
#31 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 189
Karma: 1000000
Join Date: Oct 2021
Location: Germany
Device: Tolino Vision 5, Tolino Tab 8", Pocketbook Era (16GB)
|
Quote:
Could you try the two EPUBs @RndJrg and I uploaded on iOS, maybe share a screenshot? Apple has been known to sometimes severely restrict iOS/macOS developers, and Safari’s WebKit does have some deficiencies. Then again, @RbnJrg was speaking of the Android version, so I wonder. Maybe there is something else in the CSS that makes it behave differently, or some setting in the app? At least with KOReader, I always have to remember to switch "Style Tweaks" off to see an EPUB as it was intended by the publisher. App settings can modify an EPUB’s appearance in unexpected ways. |
|
![]() |
![]() |
![]() |
#32 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 451
Karma: 65460
Join Date: Jun 2011
Device: Kindle
|
@Terisa - I can't tell if this is a joke! If so, it elicited a chuckle. If not, well, it still elicited a chuckle. Yes, I supposed that having a program automatically generate an epub IS an easier way to produce a document (any document... quality be damned) than styling it yourself. But I got the impression that Sarmat was actually arguing for an advantage in favor of hand-coded <div>s over <p>s...
|
![]() |
![]() |
Advert | |
|
![]() |
#33 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,635
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#34 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 189
Karma: 1000000
Join Date: Oct 2021
Location: Germany
Device: Tolino Vision 5, Tolino Tab 8", Pocketbook Era (16GB)
|
…and even a piece of software can be programmed to generate meaningful output. ;-)
For instance, I write almost everything in Markdown, and very rarely include HTML/XHML, except for the occasional Code:
<hr /> Code:
<span xml:lang="fr">C’est la vie !</span> The "piece of software" still generates correct results, i.e. headings, paragraphs and such. |
![]() |
![]() |
![]() |
#35 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
The solution for me turned out to be quite simple. All I had to do was go to Settings > Page > Page margins and make sure it was set to Author. I'm embarrassed at how long it took me to make this "simple" discovery ![]() |
|
![]() |
![]() |
Advert | |
|
![]() |
#36 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 189
Karma: 1000000
Join Date: Oct 2021
Location: Germany
Device: Tolino Vision 5, Tolino Tab 8", Pocketbook Era (16GB)
|
Quote:
It’s real nice that you can modify so many things in KOReader and Pocketbook, but the plethora of possible settings hidden in various submenus can be confusing. |
|
![]() |
![]() |
![]() |
#37 | |||
Connoisseur
![]() Posts: 64
Karma: 10
Join Date: May 2025
Device: iPad
|
Quote:
Moonbase RbnJrg Quote:
![]() Quote:
Main settings Settings with opened book |
|||
![]() |
![]() |
![]() |
#38 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,776
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Thanks, that is the key! By setting page margins to Author fixes the issue.
|
![]() |
![]() |
![]() |
#39 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,771
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
As for the CSS being bloated, it's because these publishers just keep adding to the style sheet. It's very easy to remove any unused classes. But they won't do that. I do that and sometimes I see over 100 unused classes. It's ridiculous. I think the publishers need staff who can make sure the eBooks are good to go both for the code and the formatting. |
|
![]() |
![]() |
![]() |
#40 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,771
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Code:
p { margin-top: 2em; margin-right: 0; margin-bottom: 2em. margin-left: 0; } |
|
![]() |
![]() |
![]() |
#41 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,074
Karma: 105206895
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Pocketbook app on Android does respect <p> settings if it's configured to use them. My ebooks look the same on Pocketbook and on the Kobo, and more or less similar as azw3 on Kindle Pw3. The K3 and Pw3 (with azw3/Kf8) sometimes scale images rather differently, but oddly the K3 is more like the Kobo or PB app on Android. Some Android apps are useless.
I'll never use over-ride features in a apps that have them as it bites later. I only edit the epub or the original source. Last edited by Quoth; Yesterday at 03:41 PM. |
![]() |
![]() |
![]() |
#42 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,776
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
However, if the user happens to modify the page margins using the easily accessible command in PB's main menu, the program not only modifies the page margins, but also all the margins, including paragraph margins. Thus, the specific values specified in the style sheet are no longer honored. The only way for these margins to remain unchanged even when the user changes the page margins is to use <div> tags instead of <p> in paragraphs where a special margin is required. Terrible handling of margins by PB. |
|
![]() |
![]() |
![]() |
#43 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,776
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
|
|
![]() |
![]() |
![]() |
#44 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 189
Karma: 1000000
Join Date: Oct 2021
Location: Germany
Device: Tolino Vision 5, Tolino Tab 8", Pocketbook Era (16GB)
|
I don’t know what’s going on here, I give up. Works on mine:
Last edited by Moonbase59; Yesterday at 05:26 PM. |
![]() |
![]() |
![]() |
#45 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,776
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using <p> instead of <div> | goderic | Sigil | 4 | 09-25-2024 11:12 AM |
A tag that's new to me <div/> | DyckBook | Editor | 7 | 11-13-2021 02:30 AM |
<div> problem | alheva | Marvin | 30 | 08-23-2016 09:13 PM |
duplicate div id's | thiefwriter | ePub | 6 | 09-17-2011 11:00 AM |
Center a div | marcelo2605 | ePub | 4 | 05-13-2011 07:39 AM |