|
|
#16 | |
|
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Oct 2026
Device: tablet
|
Quote:
That makes sense, thanks. Scrolling everywhere else trains the thumb. Give it a couple of good reading sessions and let me know if its still an issue. And thanks for the test page: you found a real bug. CalibReader was trimming the left indent on everything that sits directly on the page, and that indent is where list bullets and numbers live, so they vanished, plain ones included. The fix keeps a list's own indent, and it's in the next update. Your page is now one of the tests. Are the lists in your own books mostly numbered, or custom bullets? Any other custom CSS / adjacent issues you've been able to find? Last edited by CalibReader_; Today at 09:42 AM. |
|
|
|
|
|
|
#17 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 914
Karma: 2111023
Join Date: Sep 2013
Device: Kobo Sage
|
The CSS I use for my ordered lists looks like:
Code:
.ol_whatever {
/* Ordered List Class for Arabic Numbers (Safer to use UL) */
display: block;
list-style-type: whatever;
margin-left: 0.5em;
margin-right: 0.5em;
}
Unordered lists look the same except the class will be .ul_whatever and the list-style-type will be circle, disc, none and square. The only one I try to avoid is "circle" since Kobo does individual lines badly (too thin) and that unfilled circle can barely be seen. Also, for the "none" version, I add in: Code:
padding-left: 0.5em; text-indent: -0.5em; The other big thing I've noticed is footnotes don't work. Since there's no standard code for footnotes, that's not a well-defined statement. But, since I use <aside> for footnotes, I guess I should say <aside> doesn't work. Here's w3c's example page for the <aside> tag: https://www.w3schools.com/tags/tag_aside.asp and this appears to be Apple's information on footnotes: https://help.apple.com/itc/booksasse...cf8ecf5c8.html Here's what I use in the HTML where I want to reference a footnote: Code:
<p>text before footnote<a id="fn1" href="#fn1a" epub:type="noteref"><sup>n</sup></a>rest of text in paragraph after footnote.</p> Code:
<aside id="fn1a" class="footnote" epub:type="footnote"><p><a href="#fn1"><sup>n</sup></a>the footnote text</p></aside> and here's my CSS for formatting footnotes: Code:
.footnote {
/* Footnote Styling */
font-family: sans-serif;
font-size: small;
margin-left: 2em;
margin-right: 2em;
text-indent: 0;
border-top: 1px solid black;
border-bottom: 1px solid black;
page-break-inside: avoid;
}
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| iPhone Hyphen - ePub Reader for iPhone and iPad | hyphenreader | Apple Devices | 224 | 08-03-2017 06:41 AM |