View Single Post
Old 03-24-2014, 08:56 PM   #20
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
@Jellby

My opinion is that setting up font-family, lateral margins, line-height only once in the body let them be easily modifiable either by current ebook-readers like KoboGlo or by opening the CSS.

Sorry for the Nook, I was joking.

@bfollowell

Thanks for sharing.

About relative units

Yes em is certainly a unit I will consider for margins, paddings and font-size.

I've found that % -which looks externally very handy- may yield inconsistent results (some readers or apps fail to take them precisely into account) for margins and paddings. It's perfect for font-size.

Other attributes

I personnaly do not setup text-align and font-size in the body but it's your choice.

Could you comment further on why you use these following attributes. I may have missed something (and I certainly missed the DiapDealer comment above).
- display:block;
- page-break-before:always;

Last edited by roger64; 03-24-2014 at 11:01 PM.
roger64 is offline   Reply With Quote