Quote:
Originally Posted by Jellby
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 ?