Chapter 6
Handling Different Browser Platforms
So far, we’ve discussed ways to detect the type of device that is accessing your web page or application and to deal with it appropriately. This has involved special CSS files, formatting concerns, and more. Like any good baker will tell you, however, it is not always the wisest of ideas to keep all of your eggs in one basket. That is why, in this chapter, we’re going to take a step back and discuss methods that you can use to understand what device is accessing your service and to act appropriately.
The reason for this is simple: Not one solution will fit all problems. For instance, you might need to allow mobile users to access a web application and you might find it possible to format pages ...
Get Beginning Android Web Apps Development: Develop for Android using HTML5, CSS3, and JavaScript now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.