Quote:
Originally Posted by HarryT
Simply set your desired paragraph defaults in the CSS. Eg;
Code:
.p {
text-indent: 1.5em;
margin-top: 0;
margin-bottom: 0
}
What's hard about that? It has the huge benefit over manually indenting each paragraph separately that, should you later decide that you want a different indentation of a different paragraph spacing, you only have to edit it in one place, and your whole book will change to match the settings. Immensely easier that formatting each paragraph individually.
Why do you find it to be a "major task"?
|
The impression I've gotten of CSS is that it makes even the simplest formatting very complicated, especially if you include a great deal of formatting (which I've found in my experience with styles in word processing which often becomes a bit of work to get my documents formatted correctly). Part of the reason for that impression is that it seems that CSS wasn't been properly implemented in some web browsers and didn't work as it should have (although that is likely no longer the case).
But I must admit that the code you included above is very simple indeed, and if all CSS coding is that easy then it should be the way to go...as long as it works consistently. I wonder if an option could be offered in ereaders where you make a CSS in your ereader and all ebooks are formatted in accordance with that CSS, overriding any CSS elements in the ebook itself.