Hi..
I'm having a problem of redirect my website to use another style sheets for ie and chrome.
This is the way i've done for ie detection :
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="css/ie8.css" />
<! [endif] -->
and this is the way i've done for chrome detection :
<script type="text/javascript">
if (navigator.userAgent.toLowerCase().match('chrome')
document.write('<link rel="stylesheet" type="text/css" href="css/stylechr.css">');
</script>
but the problem is none of these are working,and i'm in trouble now of fixing the stylesheet for these two browser.
please help,i really dont know what else to do.
Thank You :)