News for hackers. Stuff that matters.
Re:CSS px is an Angular Measurement by JoshTriplett on Monday March 12, 2012 @08:00PM (#3696302)
Use em, yes, but meanwhile "px" should have continued to mean "pixel", not "96th of an inch except on mobile where ...". Occasionally you really do need to talk about pixels in CSS, and redefining "px" makes that impossible.
Re:CSS px is an Angular Measurement by gauravk92 on Tuesday March 13, 2012 @12:52AM (#3697090)
I was at the same time telling myself that we really need to start using em more often. I have used px so many times at this point because it's more convenient for precise aligning. This is actually going to be a problem considering retina display macbooks might be coming soon.
Re:CSS px is an Angular Measurement by bzbarsky on Tuesday March 13, 2012 @02:15AM (#3697233)
It's not going to be a problem, precisely because a "px" in CSS doesn't mean an actual device pixel.

And that's because we've had "retina" devices for many years now, called "printers" and CSS was designed to deal with that situation from the start.