How to make my mobile phone and tablet compatible?

I want my existing website to automatically adjust itself when viewed on mobile phones, tablets, or even when setting up a screen on the desktop.

Otherwise, if it is too complicated, what suggestions do you have? I basically want a version of ipad and iphone (android) that uses the same url, with automatic direct when detecting mobile browsers.

Many thanks

+8
javascript mobile website android-compatibility
source share
3 answers

You are looking for responsive web design! Start with MediaQueries http://mediaqueri.es/

Also check this out for a better understanding.

http://www.slideshare.net/zomigi/building-responsive-layouts-15508821

+12
source share

Adding to what others have answered, for mobile sites you have two main options.

You can have different desktop and mobile sites or one responsive site that works on all devices.

For the first option, you can redirect mobile users to a completely different URL where you host only the mobile version of the site. To do this, you can control the redirection using http://detectmobilebrowsers.mobi/ or there are many options for redirecting .htaccess files.

JQuer Mobile is a really good way to develop a website for mobile devices only after that.

The advantage of this approach is that it is easier to develop a lite version only for the mobile devices of your site. One of the drawbacks is that you will have two support websites - desktop and mobile.

Another option is the responsive approach that others have suggested. Here you basically have one site that reconfigures depending on the size of the widow of the visitor’s browser. Bootstrap and Foundation are two great options, and there are many others.

Responsive sites rely on media queries to determine window size. This is well supported in modern browsers, but there will be problems with older browsers that you might need to work. Some of the advantages of a responsive site is that you only support one site, and theoretically it works for all screen and window sizes, so this will not cause problems when releasing the next mobile device with a different screen size.

Good luck, this is an interesting time to create web design.

+8
source share

You need to find a responsive design . There are many free open source frameworks that can help you get started; perhaps the most popular of these are bootstrap and foundation .

+2
source share

All Articles