-2

I have already build my website which works fine in laptop or in PC , but when I type URL in mobile i am not getting the reduced size website . I have to do scrolling view all the part of the screen.. I want my website to be in reduced size when opens in mobile or i pads, tablets etc. I have only 1 day remaining to submit my program .Please help me in finding the solutions.

2 Answers2

5

Paste this in the <head> of your website. This will scale the website to your phone size. It also works for tablets.

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
Danny van Holten
  • 932
  • 5
  • 22
Frisidan
  • 93
  • 4
-1

The design of web site that will adapt to different screen sizes is called as Responsive Design

There are many mechanisms are available to do this.

  1. Response JS - http://responsejs.com/
  2. BootStrap - http://getbootstrap.com/
  3. Phone Gap (For Mobiles ) - http://phonegap.com

I will not encourage you to do patch work for this requirement as this will re occure. Design code in Responsive way.

Pramod S. Nikam
  • 4,271
  • 4
  • 38
  • 62