at.
at.

Reputation: 52500

HTML font is larger in iPhone browser than desktop browsers

Anybody have any idea why iPhones are displaying the text highlighted in yellow with a larger font? http://ucode.s3.amazonaws.com/index.html

The text ends up being too big for the yellow highlighting background. I've tried setting the font-size as 21px right on the <p> element and I've tried setting it in ems (1.3125em). Looks fine on desktop browsers (including safari and chrome), but not on the iPhone....

Upvotes: 0

Views: 3291

Answers (1)

deraj
deraj

Reputation: 91

The sizing fits on my iPhone normally (about the same as my browser's appearance, Chrome). I found this previous article as well which may help.

Prior article StackOverflow

Upvotes: 1

Related Questions