View Single Post
Old 03-07-2013, 08:23 PM   #17
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
dgatwood's Avatar
 
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Quote:
Originally Posted by Jellby View Post
Best would be being able to use conditional CSS or the calc() function to set the margins...

Anyway, I just wanted to point that, contrary to logic, CSS px are not (should not be) real screen pixels, but, according to the CSS spec:

px: pixel units — 1px is equal to 0.75pt.

but even that can change depending on the exact resolution or the intended usage distance.

And pt is defined as 1/72nd of an inch. This, of course, is a pretty little lie, depending on screen resolution, but no more so than the definition of an inch as an inch, AFAIK.
dgatwood is offline   Reply With Quote