![]() |
#16 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,945
Karma: 70766125
Join Date: Feb 2009
Device: Kobo Clara 2E
|
Sirtel, thank you for the explanation.
|
![]() |
![]() |
![]() |
#17 |
Captain Penguin
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,964
Karma: 2079777777
Join Date: May 2009
Location: Seattle, WA
Device: Kobo Clara BW, Kobo Libra 2, Nook Glowlight
|
|
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,483
Karma: 239219543
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Quote:
1) there may be other things one wants to change 2) One may prefer to change the existing margins to 0, not insert additional negative margins which messes the css up even more Of course it's for everyone to decide for themselves what they want to do. |
|
![]() |
![]() |
![]() |
#19 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,273
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
This takes an average of 10 minutes per epub. Automation 1 and 2 are a way of running multiple tools in one click, the group search/replaces are much the same as I've found that so many times, I was running the same tools and searches on every epub. For instance, removing any text-align: justify entries is a common task since I prefer to read left justified text. I also have several specialized search/replace groups for various epub generation tools that I've build over the years. Last edited by DNSB; 12-30-2023 at 07:25 PM. |
|
![]() |
![]() |
![]() |
#20 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,273
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Who would unzip the epub when either Sigil or the calibre e-book editor will do it all in the background for you. Not to mention that both support search/replace with Regex to make things even easier.
|
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2023
Device: Kobo Libra 2, Kindle Oasis, Kindle Keyboard
|
Quote:
After some more attentive revision, I realized there was a div.body { margin: 2em for all margins buried in the middle of a (probably) unnecessarily large and full of adds css in all the books of the series I was just starting. Would you recommend some resources to start learning about HTML/CSS for ePub, so I hopefully do not need to bother anyone anymore in the future? Thanks again. |
|
![]() |
![]() |
![]() |
#22 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,273
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Been too many years so I no longer remember many of the sites where I learned about CSS. Liz Castro's Pigs, Gourds, and Wikis site comes to mind though it's been quite a while and she has moved on. The W3C's starting with HTML + CSS, most of the W3schools site perhaps starting with their CSS Tutorial.
Open epubs and study the CSS to see how various creators handle their CSS. I prefer the keep it simple CSS styling when it can be done. |
![]() |
![]() |
![]() |
#23 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
eBooks with div instead of p can be a problem when converting.
|
![]() |
![]() |
![]() |
#24 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
These editor do the unpacking and repacking and help make editing so much easier. |
|
![]() |
![]() |
![]() |
#25 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
![]() Quote:
MR is a good place to ask questions. There are a lot of quite knowledgeable people here who are happy to help. Just make sure that you do not post in the Sigil or calibre editor forums for questions about ePub. Post in the ePub forum when the questions are about ePub and post int he other forum if the questions are about how to use the editor. Have a look at some of the more recent ePub posted by other here in the library. They are hand coded unlike commercial eBooks that can be a right mess. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
File Preview - Left & Right margins | grizedale | Editor | 9 | 01-03-2024 08:14 AM |
Kobo Libra 2 case for Left-Handed Use | Marcy | Kobo Reader | 5 | 12-20-2022 03:40 PM |
Kindle Scribe - change right & left margins? | poczynek | Conversion | 0 | 12-02-2022 06:21 PM |
Is it possible to completely remove the right and left margins? | tiramisù | Amazon Kindle | 103 | 05-04-2015 12:22 AM |
EPub>Mobi>Kindle 3 large left margins | Zenthor | Calibre | 14 | 11-02-2010 08:37 AM |