
yes there is. but your code is limited to tweaking 1 css for ie and 1 css for others.
the one for others might not look the same in different browsers. If you edit css to make it better for a certain browser say for example opera, it might change its apperance in firefox.
If you want you can make a css for each individual browsers to make 1 css for ie, 1 for ff, 1 for netscape, 1 for opera and 1 for others.
Edit your dual css insertion code in your posted link. here are the javascript browser detect codes
for firefox
if (navigator.userAgent.indexOf("Firefox")!=-1)
for ie
if (navigator.userAgent.indexOf("MSIE")!=-1)
for netscape
if (navigator.userAgent.indexOf("Netscape")!=-1)
for opera
if (navigator.userAgent.indexOf("Netscape")!=-1)
just use else to other browsers
but nobody would do that its just too much hassle and not worth it coz like i said, most comshops uses ie and firefox only.
sorry moderator for posting almost off topic
Last edited by jayceeg17 (2007-11-29 04:23:54)