04-01-2014, 02:32 PM | #1 |
Village idiot
Posts: 157
Karma: 519566
Join Date: Mar 2014
Location: Belgium
Device: sony PRS T-1
|
can't find the warning message for vendor-extension
All
I ran my CSS through the http://jigsaw.w3.org/css-validator/ and get 4 warnings: URI : stylesheet.css 48 can't find the warning message for vendor-extension 49 can't find the warning message for vendor-extension 50 can't find the warning message for vendor-extension 51 can't find the warning message for vendor-extension The CSS in question ({html,body}: -epub-hyphens: none; -adobe-hyphenate: none; -webkit-hyphens: none; -moz-hyphens: none; hyphens:none doesn't produce a warning. Should I just remove those four hyphens from my CSS, or should I write them differently... or, should I disregard the warning messages? |
04-01-2014, 05:51 PM | #2 |
Grand Sorcerer
Posts: 27,892
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You'll probably never get those vendor extensions to validate since they're not technically part of the valid specifications ("hyphens: none" IS part of the spec).
That said; if you feel you need to control hyphenation at the book level like that, then I would just ignore the warnings. Just know that many probably won't be happy campers when they open your ebook in their favorite reading app and their decision to enable hyphenation is completely ignored by your book. |
Advert | |
|
04-02-2014, 02:01 AM | #3 |
Village idiot
Posts: 157
Karma: 519566
Join Date: Mar 2014
Location: Belgium
Device: sony PRS T-1
|
Ok, but my e-book is in Dutch and I thought hyphenation is flawed for Dutch e-books. Am I wrong?
|
04-02-2014, 03:12 AM | #4 | |
frumious Bandersnatch
Posts: 7,531
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
But maybe next week your favourite reader will have a firmware update with improved Dutch hyphenation. Will you then update all your ebooks? Anyway, disabling hyphens is useful sometimes. I often do it for titles, poetry or centered text (anything that's not fully justified) |
|
04-02-2014, 04:59 AM | #5 |
Village idiot
Posts: 157
Karma: 519566
Join Date: Mar 2014
Location: Belgium
Device: sony PRS T-1
|
I think I will just remove the CSS rules for hyphenation completely. Thanks for the input.
|
Advert | |
|
Tags |
css, validation warning |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ebook vendor frustration | Varley | News | 7 | 01-09-2009 12:29 PM |