I want to link to a certain stylesheet for mobile devices, and another for desktop, because with the pixel density/ large size of some of the handsets coming out now, using media queries does not always encompass all handsets like I want it to.
I want to run the following javascript:
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
// some code..
}
But I need some code.. to be an html link tag
I do not know much javascript, so any help is appreciated.