3 ms·
Physical units intentionally render at a fixed physical size across devices (with the exception of some broken browsers). If I ask my browser for an 8.5in-wide
by JoshTriplett 16y ago
Physical units intentionally render at a fixed physical size across devices (with the exception of some broken browsers). If I ask my browser for an 8.5in-wide box, and hold a piece of (US letter) paper up to my screen, the width matches exactly.
If you really want a fixed size in pixels, use pixels, but please don't for anything other than images (and take care with images).
- xtian 16y agoSure, but this is only true if the operating system knows the correct ppi for the display (not guaranteed) and only useful if you know the physical dimensions of the client (almost never).
- rimantas 16y agoPixels are relative units. Use them whenever you want. There is no problem with pixels. There are many with IE.