Some ereaders / apps will ignore a top margin on the first item in a new file (which causes a page break). They will though do the padding-top correctly.
margin-bottom and margin top allow spacing between paragraphs (or other things) instead of blank lines.
An ebook should have only one space at any space, no tabs and no spaces at the start and end of a paragraph/line.
There should be no line-height statements.
W3C is really good, but it's orientated at web pages/web sites, so it doesn't always apply to ebooks.
|