I am creating a web based application which will be running on both the computer and the handheld devices.
I am writing two css files one for the pc and another for the handheld device.
On the onload event I am calling a external javascript I have written the code to dynamically load the css based upon the user agent.
When I run my application on the google chrome developer option to audit the page it says to avoid css loading from javascript. Can please any one tell me is this approach correct in terms of performance or is there any other solution.