Thread: Underlining
View Single Post
Old 11-23-2015, 09:20 AM   #12
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by Notjohn View Post
The logic of such rules escapes me. Occam's razor tells us that <u> is a much better solution than <span style="">, never mind having to include another style!
A silly rule is still a rule.

And as DiapDealer said, the chances of any browser or ereader or any piece of code designed to render HTML NOT supporting it is... unlikely.

But if you want to conform to the spec and thus pass Epubcheck, you need to follow the silly rule. And if you want to submit an ebook to a store that demands you pass Epubcheck, you gotta conform to the spec...

Quote:
Originally Posted by GrannyGrump View Post
Can't you declare "u" in your css? I often do that for "em" and "strong"

u {text-decoration: underline}
That just forces the renderer to use the right styling for em/strong/u/b (in case it had a different default for some odd reason) -- but the element itself is still going to get noticed and trip a silly error.
eschwartz is offline   Reply With Quote