2006-08-11

Absolute Pixel sind nicht absolut 

Dave Hyatt, Entwickler des Apple-Browsers Safari, erklärt uns HTML-Entwicklern, dass und warum absolute Größenangaben in CSS-Stylesheets nicht absolut sind, und warum das gut so ist.

In the responses both on this blog (and on Slashdot), some people argued with the high DPI proposal saying »A pixel is just a pixel! Making a CSS pixel != screen pixel is a bad idea!« Those of you who think this way have a fundamental misunderstanding regarding how the Web works even today. It is already true that a CSS pixel does not necessarily equal a device pixel, and there's nothing wrong with doing this. It doesn't mess up your Web site. You don't even have to think about it if you don't want to. — CSS Units

Und nach der Lektüre überprüfe ich dann mal mein Stylesheet, ob ich nicht auch Äpfel (px) und Birnen (pt) in den Größenangaben zusammenwerfe.

This page is powered by Blogger. Isn't yours?

inpcblog durchsuchen

Syndikation
SiteMeter