View Single Post
Old 12-21-2015, 05:06 AM   #18
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,080
Karma: 315558332
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by JSWolf View Post
Getting rid of the p means the style can be used as a class with more than just p. But in practical usage, if you use it with just p, it has no difference in functionality.
If you remove the p, you'll change the meaning. It isn't a consequence-free change.

Quote:
Originally Posted by JSWolf View Post
And to get back on topic, I do think a stylesheet should be part of the ePub and every class should have a style as well as there being a body style. The problem being that you cannot rely on the defaults. What's the default for ADE might not be the default for iBooks or some other ePub reader. The only way to make sure the ePub looks the same in different programs is to have a stylesheet with all classes defined.
I mostly agree. Having CSS style sheet that defined every possible attribute to over-ride all defaults would be over-managing the display of the text, I think. But might be needed in some very design-led books.
pdurrant is offline   Reply With Quote