u can try this also...

[quote]if ((navigator.appName).indexOf("Microsoft")!=-1) {a=document.createElement('link');a.rel='stylesheet';a.href='[b]LINK OF YOUR CSS FOR INTERNET EXPLORER HERE[/b]';navBg.appendChild(a)
}
else {a=document.createElement('link');a.rel='stylesheet';a.href='[b]LINK OF YOUR CSS FOR FIREFOX HERE[/b]';
navBg.appendChild(a)
}[/quote]
code provided by:
~ ArchAngell~
switpotato
for js..

[quote]var podo = document.createElement("script");
var browser=navigator.appName;
var mic="Microsoft Internet Explorer";
if (browser==mic){
podo.type = "text/javascript";
podo.src = "[b]INSERT UR IE URL HERE[/b]";
document.getElementsByTagName("head")[0].appendChild(podo);
}
else
{
podo.type = "text/javascript";
podo.src = "[b]INSERT UR FIREFOX URL HERE[/b]";
document.getElementsByTagName("head")[0].appendChild(podo);
}[/quote]
code provided by: podo
Last edited by mabuhay (2009-01-13 05:29:14)