03-31-2022, 07:53 PM | #61 |
Connoisseur
Posts: 80
Karma: 2137678
Join Date: Dec 2021
Location: Canada
Device: none
|
Anyone have a problem with this—using a utf8 character in a list?
I guess I'll have to declare a utf8 standard in my html headers, no doubt. I want to replace the image-based checkmark icons I am using in my ul lists and these 2714s will do fine. ul li::before { content: "\2714"; display: inline-block; margin-right:0.5em; } ----below for ref only----- ul { font-family:sans serif; padding-left:0; margin-left:0; list-style-type: none; } ul li { padding-left: 2.0em; font-size:0.9em; margin:0.5em Last edited by roland1; 03-31-2022 at 07:58 PM. |
03-31-2022, 09:13 PM | #62 |
Connoisseur
Posts: 80
Karma: 2137678
Join Date: Dec 2021
Location: Canada
Device: none
|
Or do I really have to suffer those squares and disks in html ul list code?
|
Advert | |
|
03-31-2022, 09:23 PM | #63 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
03-31-2022, 09:43 PM | #64 |
Addict
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
I am pretty sure that the only way to keep proper left-side alignment on lists is to roll with defaults. Trying to swap em out with :before / list-style-type:none replacements pretty much always throws that off. Probably because you’re relying on the metrics for one font to get it right, but the user will probably be using another.
|
03-31-2022, 10:01 PM | #65 | |
Connoisseur
Posts: 80
Karma: 2137678
Join Date: Dec 2021
Location: Canada
Device: none
|
I was trying momentarily to live in denial. But yeah, it looks like the only place I can really stretch out stylistically is in my print books. And for my ebooks, I can just take up alcoholism. Perfect balance.
Quote:
|
|
Advert | |
|
04-01-2022, 11:04 AM | #66 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
04-01-2022, 12:23 PM | #67 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Hey guys and gals: as worthy as this conversation is... it's just not Sigil-centric enough to keep having it here. I'm going to move it out of Sigil and into the Workshop forum.
|
04-01-2022, 02:37 PM | #68 |
Connoisseur
Posts: 80
Karma: 2137678
Join Date: Dec 2021
Location: Canada
Device: none
|
The more the merrier.
|
04-01-2022, 07:48 PM | #69 |
Connoisseur
Posts: 80
Karma: 2137678
Join Date: Dec 2021
Location: Canada
Device: none
|
I'm just looking at the SIGIL wiki html lesson page to further educate myself as to what is possible/impossible with ebooks.
Does anyone have a comment about using <div> tags? I never used them in my ebook because I didn't think nesting was necessary for what I do. But I see the selector being used with image/caption combos. Any thoughts — pros or cons about their usage? |
04-01-2022, 08:08 PM | #70 |
Connoisseur
Posts: 80
Karma: 2137678
Join Date: Dec 2021
Location: Canada
Device: none
|
|
04-01-2022, 10:11 PM | #71 | |
A Hairy Wizard
Posts: 3,095
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
For example, instead of this: Code:
p {normal paragraph styling} p.different {different paragraph styling} <p>This is a normal paragraph.</p> <p>This is a normal paragraph.</p> <p>This is a normal paragraph.</p> <p class="different">This is a different style of paragraph.</p> <p class="different">This is a different style of paragraph.</p> <p class="different">This is a different style of paragraph.</p> <p class="different">This is a different style of paragraph.</p> <p>This is a normal paragraph.</p> <p>This is a normal paragraph.</p> <p>This is a normal paragraph.</p> Code:
p {normal paragraph styling} div.different p {different paragraph styling} <p>This is a normal paragraph.</p> <p>This is a normal paragraph.</p> <p>This is a normal paragraph.</p> <div class="different"> <p>This is a different style of paragraph.</p> <p>This is a different style of paragraph.</p> <p>This is a different style of paragraph.</p> <p>This is a different style of paragraph.</p> </div> <p>This is a normal paragraph.</p> <p>This is a normal paragraph.</p> <p>This is a normal paragraph.</p> I'm sure there are other uses/techniques people have around here. One thing that really drives me nuts is when I see people use the <div> to replace an item that has it's own, semantically correct, tag. For example: Code:
<div class="para">This is a normal paragraph.</div> <div class="para">This is a normal paragraph.</div> <div class="para">This is a normal paragraph.</div> <div class="para">This is a normal paragraph.</div> <div class="para">This is a normal paragraph.</div> <div class="para">This is a normal paragraph.</div> <div class="para">This is a normal paragraph.</div> <div class="para">This is a normal paragraph.</div> <div class="para">This is a normal paragraph.</div> forever... Last edited by Turtle91; 04-01-2022 at 10:14 PM. |
|
04-01-2022, 11:32 PM | #72 |
Connoisseur
Posts: 80
Karma: 2137678
Join Date: Dec 2021
Location: Canada
Device: none
|
Yeah, that makes pretty good sense.
|
04-01-2022, 11:44 PM | #73 | |
Bibliophagist
Posts: 35,461
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
The standard first line in an epub text file is: Code:
<?xml version="1.0" encoding="utf-8"?> Last edited by DNSB; 04-01-2022 at 11:48 PM. |
|
04-02-2022, 05:56 AM | #74 | |
the rook, bossing Never.
Posts: 11,161
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Quote:
Avoid using any special font for bullets as by default that won't work on a Kindle. Only works if the font is embedded AND the user selects Publisher on the reader GUI. Some apps don't even use embedded fonts in an ebook! |
|
04-02-2022, 01:53 PM | #75 | |
Resident Curmudgeon
Posts: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Filenames on Nook Simple Touch oddly mangled | ChristopherTD | Devices | 2 | 07-20-2013 06:25 AM |
Kobo not charging and mangled USB ports | caroliv | Kobo Reader | 1 | 01-25-2013 06:57 AM |
K3 is mangled - cannot update to 3.4 | horizon21 | Kindle Developer's Corner | 20 | 10-12-2012 10:31 AM |
ebook preview | venkatesh | General Discussions | 12 | 11-18-2010 11:58 AM |
eBook viewer Print Preview settings not saved | Agama | Calibre | 3 | 08-22-2010 08:04 PM |