I noticed that when used position: fixedon an element, text on the iPad (iOS 5.0.1) displays better than without position: fixed. This is especially true for white text on a dark background.
position: fixed
My question is how to use this improved anti-aliasing without using workarounds such as position: fixed.
Below you can find an example image and the corresponding code.
http://jsfiddle.net/t4kTm/
After upgrading to iOS 5, I was no longer able to reproduce this - weird.
I don’t know why this is so, but I know how to control anti-aliasing in webkit browsers:
-webkit-font-smoothing: none; /* Obvious */ -webkit-font-smoothing: subpixel-antialiased; /* This is what quite a few browers already do*/ -webkit-font-smoothing: antialiased; /* Even more than the one above */
Did it help?
iPad position:fixed body ( -webkit-font-smoothing: antialiased). , Helvetica Neue iOS 5.1.1.
position:fixed
-webkit-font-smoothing: antialiased
body { -webkit-font-smoothing: antialiased; // make fonts thinner in desktop Webkit position: fixed; // make fonts thinner on the iPad }