View Single Post
Old 02-15-2011, 05:25 AM   #27
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
Quote:
Originally Posted by Jellby View Post
p { margin-top: 2px }


Pixels are device-dependent. A pixel is a "point" in the screen (do not confuse with the above points), it's the minimal detail size for the screen. If you move to a screen with a different resolution, a pixel size will change. Sometimes that's desirable, sometimes it's not.
thanks - seems a poor choice then - my PC screen has far more pixels than my Kindle - 1920x1200 vs whatever Kindle is - 400x800?, so books will look different in Kindle for PC than on actual Kindle if pixel spacing is used.

I think I'll stick with ems ,though I've yet to learn what fractional values of ems work on kindle. I have seen e.g. book styles with .5 em top and .5 em bottom margin defined for <p tags.
I did read that K can't do fractional em indents but maybe it CAN do fractional em line spacings ?
cybmole is offline   Reply With Quote