如何让我的网站移动和平板电脑兼容?

如何让我的网站移动和平板电脑兼容?

问题描述:

我想让我现有的网站在手机,平板电脑上观看时自动调整,甚至在桌面上调整屏幕时也是如此。

I want to make my existing website automatically adjust itself when viewed either on mobiles, tablets, or even when you adjust your screen on a desktop.

如果不这么做,如果太难了,你有什么建议?我基本上想要一个使用相同网址的ipad和iphone(android)版本,当检测到移动浏览器时会自动指向。

Failing that, if it's too difficult, what suggestions do you have?? I basically want an ipad and iphone (android) version that uses the same url, with an auto direct when mobile browsers are detected.

非常感谢

您正在寻找响应式网页设计!从MediaQueries开始 http://mediaqueri.es/

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

同时查看此内容更好理解

Also check this out for better understanding

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