derek gulbranson

9Aug/051

pt vs. px

I just noticed if I use pt (points) instead of px (pixels) for the units of font-size in my CSS, the font appears the same size on both my PC and Mac. My powerbook has 96 pixels per inch, so text frequently looks really, really small. I guess pt is relative to the physical screen size rather than being tied to pixels. Anyway, so will everyone in the world please start using pt instead of px for font-sizes. Thanks.

Filed under: Design Leave a comment
Comments (1) Trackbacks (0)
  1. Thank you!

    I’m reading all of these purist so-called web developers swearing by px. Being i’ve been working on a Mac and PC for over 10 years, i was aware of this. Pt sizes are the most consistent measurement in my experience.

    Good Post


Leave a comment

(required)

No trackbacks yet.