Dodona gives you answers

How do I stop the iPhone browser from scaling my fonts?

leave a comment »

Wondering why text in your iPhone browser looks bigger than specified in your style sheet? This is because the iPhone webkit browser automatically scales certain parts of a webpage to improve readability. But what if you don’t want this, for example because it breaks your layout? Well, there is an easy way to turn it off. Just add this code to your CSS body element (or any other element you want to stop scaling):

body {
-webkit-text-size-adjust:none;
}

Link: Stop adjusting the text size in iphone…
Status: works

Written by lutsen

February 24, 2011 at 5:16 pm

Posted in Web

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: