View Single Post
Old 11-18-2014, 03:13 PM   #19
Psymon
Chief Bohemian Misfit
Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.
 
Psymon's Avatar
 
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
Quote:
Originally Posted by Jellby View Post
According to the CSS spec, px is an absolute unit, unrelated to the actual device pixel size. Most readers, actually ignore this and just use pixels.

You could use "cm" or "mm" too, and those are clearly absolute... but some devices (e.g. my Kobo) have a personal view on what a cm is.
Hmm... well, this does certainly make for some interesting alternative ways of doing what I've been doing, but I'm still a bit hesitant, if only because I'd effectively be "disabling" the ability of the user to change the font size -- and don't you people keep emphasizing to me that I shouldn't screw with things like that?

Quote:
And if using % for the margins/size, you should be aware that it may not change with font size, but it will change with screen orientation or device margins.
Yeah, I think I mentioned this earlier, but that's the very reason that I didn't want to go with %, and went with em instead, because I wanted my tables to be indented the same as I'd indented my poems and "blockquotes," and have everything all nicely uniform in that way (design-wise).

I think I'm pretty happy with how this all turned out, based on our earlier discussions here -- at least, testing in ADE and in iBooks, all seems to have turned out well (and I even managed to really simplify a lot of my coding for all the tables in my book in the process, which is a huge bonus, in light of the fact that I have a bunch more coming my way soon).
Psymon is offline   Reply With Quote