Why don't we use browser detection and platform-specific CSS?

Posted by Pankaj Upadhyay on Programmers See other posts from Programmers or by Pankaj Upadhyay
Published on 2011-09-26T06:29:07Z Indexed on 2012/11/06 17:21 UTC
Read the original article Hit count: 225

Nowadays, the common phenomena is to develop a website for a browser and then corresponding apps for Android phones, iPhone, tablets and so on.

Since all the platforms come with a browser, why aren't companies using CSS to accommodate them? Surely we can detect from the request which browser was used and from which platform the request came. Reading those values, why don't we just implement the corresponding CSS for different platforms. Like we do for IE, Chrome and Safari. This way we can use the platforms' browser capabilities and don't need to develop subsequent apps for a platform.

© Programmers or respective owner

Related posts about web-development

Related posts about cross-platform