Forcing anti-aliasing using css: Is this a myth?

css, fonts

Solution

No, there's not really any way to control this as a web developer.

Small exceptions are that you can do some fake forcing of anti-aliasing by using Flash through sIFR, and some browsers won't anti-alias bitmap/pixel fonts (as they shouldn't, more info: Anti-Aliasing / Anti-Anti-Aliasing).

Also, as Daniel mentioned, it's ideal to be using `em` units for all fonts, see The Incredible Em & Elastic Layouts with CSS for more information about this.

Problem

Recently a client has complained about the appearance of a system font in IE6. Basically th issue is that IE6 doesn't support font-smoothing/anti-aliasing (I know you can turn it on in an OS setting or something). But someone threw out this gem: "You can force font anti-alias in css by using pt instead of px." I did a quick POC in various browsers and saw no difference. I found one reference to it online, last post on this forum: http://www.webmasterworld.com/css/3280638.htm This sounds like the equivalent of a web developer urban myth, my feeling is it's BS. Has anyone ever encountered it?

Original source

Related problems