我想知道如何制作一个在大多数手机上看起来都不错的网页.为了制作普通网页,我使用dreamweaver cs3.我真的不想使用模拟器,除非我也有.我能不能不把所有东西都放在中间,两边都有自动边距.
I would like to know how I can make a webpage that will look good in most mobile phones. For making normal webpages, I use dreamweaver cs3. I don´t really want to use emulators unless I have too. Can I not just center everything in the middle, with auto margins on both sides.
当我查看到目前为止制作的页面时,它们看起来不错,但在手机中,有些东西会变得杂乱无章.我打算去掉所有非必要信息和标记,以便在手机上使用.
When I am looking at the pages that I have made sofar, they look ok, but in a mobile phone some things get cluthered. I am planning to strip out all the non essential information and markup for use on the mobile phone.
那么问题来了,基本上对我来说现在最重要的一个
Then there is the question, basicly the most important one for me now
如果手机转到同一个地址,如何呈现不同的页面?
How to present a different page if the mobile phone go´s to the same address?
编辑
我没有得到最后一个答案,但我找到了一个可以使用的浏览器检测脚本.
I diddn´t get an answer om the last one, but I found a browser detection script that I could use.
谢谢,理查德
为了获得最大的兼容性,您必须在放弃大多数花哨的浏览器的情况下进行权衡,考虑在台式计算机上运行磨.
In order to get the greatest amount of compatibility, you have to trade it off with ditching most of the bells and whistles browsers running on desktop computers consider run of the mill.
这篇关于手机网页开发最佳实践的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
以编程方式将可下载文件添加到 Woocommerce 产品Add programmatically a downloadable file to Woocommerce products(以编程方式将可下载文件添加到 Woocommerce 产品)
获取今天 Woocommerce 中每种产品的总订单数Get today#39;s total orders count for each product in Woocommerce(获取今天 Woocommerce 中每种产品的总订单数)
在 WooCommerce 和电话字段验证问题中添加自定义注Add Custom registration fields in WooCommerce and phone field validation issue(在 WooCommerce 和电话字段验证问题中添加自定义注册字段
在 Woocommerce 简单产品中添加一个将更改价格的选Add a select field that will change price in Woocommerce simple products(在 Woocommerce 简单产品中添加一个将更改价格的选择字段)
在 WooCommerce 3 中将自定义列添加到管理产品列表Add custom columns to admin products list in WooCommerce 3(在 WooCommerce 3 中将自定义列添加到管理产品列表)
自定义结帐“下订单"按钮输出htmlCustomizing checkout quot;Place Orderquot; button output html(自定义结帐“下订单按钮输出html)