Sunday, 15 January 2012 Usman

A note on mobile-specific versions

http://t2.gstatic.com/images?q=tbn:ANd9GcT9N7sQMRsSF9rIN6UMM3UqgOgfRAokaHP3r1MP-M8lP19rgjZnThis article will not cover the reasons why you should or should not create a mobile-specific version of your site. For the pros and cons, consult the previous article on XHTML Basic, as the same reasons apply here, and the CSS Mobile Profile is often used hand in hand with XHTML Basic.
One point worth mentioning is that the CSS Mobile Profile need not just be used with a stripped-down mobile-specific version. Using capabilities such as the handheld media type and media queries, it is possible to use the same markup as the desktop but send a separate style sheet to mobile devices. You may want to consider using this approach and use the properties supported in CSS Mobile Profile for the mobile style sheet. While the CSS Mobile Profile is quite restrictive in the properties it supports, it shouldn’t come as too much of a shock for those Web developers who are used to the restrictions imposed by IE 6 —the support levels are very similar between this spec and IE 6’s CSS support, minus the implementation bugs.

0 comments:

Post a Comment

Share