How to make your website ipad or iphone friendly? If you used CSS with %, you are good to go. The code will shrink your current view with this javascript code properly. Simply add this code into your header. <meta name=”viewport” content=”width=device-width; initial-scale=1.0;” />  <script type=”text/javascript”> function