Monday, December 19, 2005
Retrofit Your Web Pages For Wireless Compatibility
Posted by Janak Parekh in "ARTICLE" @ 03:00 PM
"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."
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.
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.