|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#31 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
![]() And there was a lot of bogus information about widows/orphans: 0 floating around for years. Luckily, it all looks to be ironed out now. ![]() |
|
![]() |
![]() |
![]() |
#32 | |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,827
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
Speaking of which, the two remaining validation errors that I've learned to ignore are: unrecognized media amzn-kf8 and Property adobe-hyphenate doesn't exist Is there a correct way to do @media amzn-kf8 and adobe-hyphenate to clear those errors as well? |
|
![]() |
![]() |
Advert | |
|
![]() |
#33 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
That's a Media Query.
If you read the Kindle Publishing Guidelines (PDF), it's under "Appendix D: Media Queries"... they give example code. amzn-ke8 is not applicable to EPUB readers, so they (theoretically) should ignore that section of code, but support for Media Queries depends on device. (And many are buggy.) As long as you code things properly, there shouldn't be much harm in using them. I wrote about the valid way to apply CSS hyphens (and explain each of the settings) in multiple different posts:
adobe-hyphenate is/was a valid way to apply it only in ADE/RMSDK... but I would still recommend against trying to disable hyphenation. Side Note: There are also a few newer things in CSS3 dealing with hyphenation. Like specifying how many characters allowed to the left/right of the hyphens, or how many hyphen line-endings allowed in a row. See above topics for many more details. Last edited by Tex2002ans; 10-12-2019 at 06:45 PM. |
![]() |
![]() |
![]() |
#34 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,827
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
|
Thanks, Tex2002ans.
I understand media queries and adobe-hyphenate. What I meant was, I use them for my own purposes, but it always throws a validation error, which I ignore. Then the "invalid" css succeeds in making my ereaders do what I want them to. I was just wondering if there was a different media query that wouldn't throw a css validation error, but it looks like "amzn-kf8" is the proper media type for kf8, according to the Kindle Publishing Guidelines. And if adobe-hyphenate is the proper css for ADE/RMSDK, that answers that question as well. But at least I got rid of the widows/orphans validation error ![]() |
![]() |
![]() |
![]() |
#35 | |
What the Dog Saw
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 311
Karma: 981684
Join Date: Jul 2008
Location: Dunn Loring
Device: Sony PRS-650, Surface3
|
Quote:
https://www.mobileread.com/forums/sh...2&postcount=19 |
|
![]() |
![]() |
Advert | |
|
![]() |
#36 | ||||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
![]() Quote:
0 is invalid, always has been: CSS specs (widows and orphans): Quote:
Quote:
epubcheck? Calibre's check? Or something else? Quote:
But, there are a few CSS implementation bugs to note:
Last edited by Tex2002ans; 10-13-2019 at 08:03 PM. |
||||
![]() |
![]() |
![]() |
#37 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#38 | |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,827
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
I ignore it, my ereaders ignore it, and all is good except the OCD part of me that would rather get a clean bill of health on my css ![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is there a Way to Simplify Tags | Meido | Library Management | 12 | 09-16-2018 10:52 AM |
Questions Re: Work Flow for Multiple Versions | SigilBear | ePub | 14 | 02-13-2017 01:28 PM |
Work around for foreign language dictionary problem | Stingo | Amazon Kindle | 27 | 02-01-2012 03:19 PM |
Touch Need help to get my language work with a rooted NST | EKetabi | Barnes & Noble NOOK | 5 | 12-08-2011 09:27 AM |
eBook purchase preferred work-flow? | bugeyed | Calibre | 1 | 07-05-2010 09:08 PM |