I searched google, I searched hotscripts. Im looking for a JavaScript or even a php script that (preferably php but JS works fine also) that checks the browsers user-agent for a Mozilla borwser (Netscape, Firefox Camino, Mozilla) and a IE browser then loads the appropriate Stylesheet styleIE.css and styleMZ.css. Possible if so can you post the script to do it with?
Question
Aeonandromere
I searched google, I searched hotscripts. Im looking for a JavaScript or even a php script that (preferably php but JS works fine also) that checks the browsers user-agent for a Mozilla borwser (Netscape, Firefox Camino, Mozilla) and a IE browser then loads the appropriate Stylesheet styleIE.css and styleMZ.css. Possible if so can you post the script to do it with?
Thanks.
Link to comment
https://www.neowin.net/forum/topic/180116-script-that-checks-browser-and-load-css/Share on other sites
7 answers to this question
Recommended Posts