View Single Post
Old 11-05-2012, 04:12 AM   #11
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
When specifying lengths in "pixels" in CSS, note that they may or may not correspond to actual screen pixels. In particular, the CSS2.1 spec says:

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

and since 1pt=1/72in, that assumes that all devices are 96ppi.

Of course, an image's (bitmap, not vector) dimensions are most meaningful in real pixels, it is only when setting the image size in CSS that this fixed-size pixel enters play.
Jellby is offline   Reply With Quote