Log in

View Full Version : Retrofit Your Web Pages For Wireless Compatibility


Janak Parekh
12-19-2005, 11:00 PM
<div class='os_post_top_link'><a href='http://www-128.ibm.com/developerworks/wireless/library/wi-css/?ca=dgr-lnxw01WirelessPages' target='_blank'>http://www-128.ibm.com/developerwor...01WirelessPages</a><br /><br /></div><i>"If you're like many Web developers, you have no idea how to ensure that your Web pages are accessible to wireless devices. Because you probably don't want to maintain Web and wireless versions of the same site or take on the overhead of Extensible Markup Language (XML) transformations, this article shows you a more practical approach to wireless compatibility. With some well-designed XHTML, a bit of CSS, and the media attribute, you can do wonders...In this article, I'll show you an easy way to upgrade your Web pages for wireless compatibility. If you're already coding your Web pages using HTML 4.01 Strict or XHTML and styling them with CSS, then you've done more than half of the work of making them accessible to wireless devices. What's left to do, as you'll see, is a breeze."</i><br /><br />While the notion of using XHTML + CSS is not new, this is a nice "how-to" article for the web developers amongst you that want to target different devices with minimal work. The key trick is to use multiple stylesheets. While this approach isn't perfect, it's a way of reducing the amount of HTML you have to rewrite to target handhelds.