How to word wrap text when I pinch and zoom on web pages

Discussion in 'iPad Tips, Help and Troubleshooting' started by Subu, Mar 8, 2013.

  1. Subu macrumors regular

    Jan 10, 2013
    Deal folks

    Good day

    Of late I am doing a lot of reading of web pages on my ipad 2 ( upgraded to latest iOS and all legal no jail break ). Most reading on safari . Open to using any standard browser

    When the original pages fit the ipad screen size , they generally do NOT fit the screen when i pinch and zoom ( I zoom to help my aging eye !!! ). Some pages fit the screen but most do not

    And on some of the pages the reader does NOT seem to work and that's where the pinch and zoom becomes critical and that's where the word wrap doesn't work

    How do I word wrap to fit the ipad screen after a oinch and zoom or how to I read the whole page without scrolling left and right for every line when I have zoomed the text on the browser

    It gets quite annoying to scroll every line left and write and read a web page when zoomed

    Any help any tips / alternative apps or work arounds would most appreciated

    Basic idea ....get reader on every web page or get a word wrap when I pinch and zoom on a web page

    Thanks In advance

    Best regards

  2. Night Spring macrumors G5

    Night Spring

    Jul 17, 2008
    Unfortunately, on the ipad, there's no way to word wrap text when you zoom in Safari.

    What I've been using is to increase font size. Here's how:

    I understand that some of the alternative browsers you can buy from the App Store allows you to set default font size. It's also possible that some of them has a word wrap function, but if so, I've never heard it mentioned.

    I also use bookmarklets from Readability and Instapaper -- they sometimes work when Reader doesn't. But sometimes they don't work and Reader does.
  3. Subu thread starter macrumors regular

    Jan 10, 2013

    I tried this , created two book marks, cleared the URL , cooied the java script , save , etc etc ... but neither the plus nor the minus bookmark does anything to the font size on safari iOS ipad !!!

    So I've done something wrong , but can't figure out what !!



    If you see the link and comments below that link many there say it isn't working for them

    So, what are *we* ...I.e the guys who don't get it missing ?

  4. Night Spring, Mar 9, 2013
    Last edited: Mar 9, 2013

    Night Spring macrumors G5

    Night Spring

    Jul 17, 2008
    I have no idea why it isn't working for you, the following codes work for me.

    javascript:var p=document.getElementsByTagName('*');for(i=0;i<p.length;i++){if(p[i].style.fontSize){var s=parseInt(p[i].style.fontSize.replace("px",""));}else{var s=12;}s-=2;p[i].style.fontSize=s+"px"}
    javascript:var p=document.getElementsByTagName('*');for(i=0;i<p.length;i++){if(p[i].style.fontSize){var s=parseInt(p[i].style.fontSize.replace("px",""));}else{var s=12;}s+=2;p[i].style.fontSize=s+"px"}
    Oh, when copying and pasting the code, did you make sure to scroll all the way to the beginning of the code and check that it begins with "javascript"? Sometimes spaces and other garbage gets in there when copying nd pasting.
  5. Subu thread starter macrumors regular

    Jan 10, 2013
    Thanks again

    It works now

    I used thie code you have given above and it worked !!!

    I thought I had checked it earlier ...but it didn't :-(

    Anyhow ...thanks a ton


  6. rumormiller macrumors member

    Aug 27, 2017

    Thanks and still needed in 2017 in iOS 11!!!

Share This Page