views:

378

answers:

2

When I rotate my iPhone into landscape mode, the iPhone automatically bumps the text size up.

What is the best way to prevent this? I'd like rotation to give the visitor more text to read, not a larger font. Is JavaScript like this the only way to go?

+7  A: 

You could use this CSS property

-webkit-text-size-adjust: none;
nduplessis
Thanks! Not sure why that was so hard to find...
ceejayoz
Here you gohttp://developer.apple.com/safari/library/documentation/AppleApplications/Reference/SafariCSSRef/Articles/StandardCSSProperties.html#//apple_ref/doc/uid/TP30001266
nduplessis
A: 

THANK YOU! I've been looking everywhere for this answer!

anna