04-11-2023, 04:23 PM | #76 | |||
Wizard
Posts: 2,304
Karma: 12126963
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
So if there's an <em> or 2nd <i> inside of an outer <i>, then the text would be Roman/normal (straight-up-and-down). Use this CSS: Code:
i em { font-style: normal; } i i { font-style: normal; } Quote:
Quote:
If you're further interested in this <i> vs. <em> stuff, please visit those previously linked topics. Then do a search for:
My posts did a thorough job breaking down all the questions/examples + describing differences between all the cases:
- - - Side Note: Here's one more topic to toss on the reading list too: - - - Side Note #2: This <i> vs. <em> "debate" gets rehashed about once a year, with more and more evidence piling up. Since 2017, there were about 7 in-depth MobileRead topics with tons of examples (and discussions). The last few built up upon the previous years, so instead of rehashing the same examples again and again, I summarized+brought even more each time. So when you read that certain people have "NEVER heard of such a case" or have "NEVER seen an example", do not believe them. They were a part of those discussions, and they've repeated the same exact things about a dozen times. (And many times it already got answered earlier in the SAME EXACT topic!) Last edited by Tex2002ans; 04-11-2023 at 05:48 PM. |
|||
04-11-2023, 04:38 PM | #77 |
Resident Curmudgeon
Posts: 76,395
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
You should know the standards committee is going to do something stupid. Just look at ePub 3 and some of the tings they've done there.
|
Advert | |
|
04-11-2023, 05:03 PM | #78 | |
Bookmaker & Cat Slave
Posts: 11,494
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Yes, we all know that's possible because it's already happened with the multimedia stuff, before other things that really needed real help/insight. NONETHELESS, you are cart/horsing. You really are being very very obstreperous, even for you, on this one, Jon. Not sure I truly understand why you are allowing this one to get up your nose so badly. it's simple enough for those of us making ebooks--we can choose to use em and i, or not. Right? It's not really skin off your nose if they do, or don't. If you get one that's bollixed, fine, then complain but all this whingeing, effectively prophylactically about something that, on this front, has NOT happened yet...sheesh. Hitch |
|
04-13-2023, 12:37 PM | #79 | |
Addict
Posts: 224
Karma: 5497310
Join Date: Sep 2012
Device: Sony PRS-T2, Kindle
|
Quote:
|
|
04-13-2023, 06:08 PM | #80 | |
Wizard
Posts: 2,304
Karma: 12126963
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
And this is what I meant by highlighting helping you see the differences: HTML: Code:
<p><i>Wow, I did</i> not <i>do good at all.</i></p> <p><i>Wow, I did <em>not</em> do good at all.</i></p> The 2nd is the type of HTML you would ultimately aim for:
- - - Side Note: And this is the CSS I used to create the above image: Code:
/* These 2 control the emphasis-inside-italics or italics-inside-italics. */ i em { font-style: normal; } i i { font-style: normal; } /* These 2 temporarily highlight the italics or emphasis while proofing. */ i { background-color: yellow; } em { background-color: orange; } Last edited by Tex2002ans; 04-13-2023 at 06:12 PM. |
|
Advert | |
|
Tags |
semantic markup |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Semantic discussion on the phrase "Title Case" | DiapDealer | Sigil | 24 | 11-22-2017 03:48 PM |
Typo in Set Semantic ? | Bertrand | Editor | 1 | 04-06-2016 11:24 AM |
DTBook markup? | frquixote | Calibre | 10 | 03-05-2014 07:17 PM |
Markup for TTS? | jcsalomon | ePub | 4 | 06-19-2013 12:47 PM |
Semantic formating for simple poetry: any comments on my code? | sourcejedi | ePub | 12 | 04-22-2011 07:28 AM |