02-27-2018, 06:22 AM | #46 |
Resident Curmudgeon
Posts: 76,104
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
To me, divs look like ugly code where a p would do.
|
02-27-2018, 06:47 AM | #47 | |
Addict
Posts: 281
Karma: 7724454
Join Date: Sep 2017
Location: Bethesda, MD, USA
Device: Kobo Aura H20, Kobo Clara HD
|
Quote:
To me, div is better style in this case. The major difference (aside from the functional one I just mentioned) is that p connotes that the contents are a paragraph, semantically. That’s not the case here, so div is a little better in terms of expressing what’s meant. But that’s just a style difference; neither one is wrong per se. |
|
Advert | |
|
02-27-2018, 12:40 PM | #48 | |
Grand Sorcerer
Posts: 5,471
Karma: 100408738
Join Date: Apr 2011
Device: pb360
|
Quote:
Intuition is sometimes difficult or seems unnecessary to articulate. |
|
02-27-2018, 01:58 PM | #49 | |||
Bookmaker & Cat Slave
Posts: 11,482
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Jon, yes, we know that. :-) One good thing about you, my Resident Curmudgeon, is that we always know exactly where you stand.
Quote:
HOWEVER, all that being said, and while I would probably expect my guys to use paragraph classes for something akin to the Blueberry sign, there isn't some Lord High Almighty of eBook Coding, handing down judgements that those who use a p, rather than a div--or vice-versa--are all going to burn in Hell. That was my point. Unlike attempting to make a naked image element, sans an enclosing element, etc., there's no definitive right/wrong for this, in the given example. Unless someone here knows of one--I mean, a definitive, authoritative guide/whatever that says, "Thou Shalt Not Use Ps for This Versus Divs." Quote:
Quote:
So, anyway, I'm sure that we can now all agree that despite having our personal preferences, the reality is, the PC Coding Police are not going to show up on our doorsteps and haul us away for using p's versus div's, or vice-versa, for layout elements like the Blueberries signage. Really, that's kinda the only place I was trying to get to. Peace and Harmony on the Endnotes thread. Hitch |
|||
02-27-2018, 02:28 PM | #50 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
As is often the case, looks is in the eyes of the beholder. But on a technical level the accessibility factor is that "semantics trumps looks" and if accessibility is better then all is well. We may need to change our viewpoint.
Dale |
Advert | |
|
02-27-2018, 03:21 PM | #51 | |
Bookmaker & Cat Slave
Posts: 11,482
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
02-27-2018, 06:09 PM | #52 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
02-27-2018, 08:09 PM | #53 | |
Bookmaker & Cat Slave
Posts: 11,482
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
Tags |
endnote, epub, hide |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Plugin] epub2 output | Doitsu | Plugins | 11 | 12-01-2021 04:17 PM |
epub3 to epub2 | AlanHK | Sigil | 11 | 08-09-2017 05:06 AM |
EPUB2 to EPUB 3 errors | Psymon | ePub | 38 | 03-12-2016 01:12 PM |
EPUB2 and the DOCTYPEgate | roger64 | ePub | 21 | 07-18-2014 07:49 PM |
refined metadata in epub2? | mzmm | ePub | 2 | 11-14-2012 01:52 PM |