Pages: 1234

  2007-11-29 02:44:51

jayceeg17
» n00b
FTalk Level: zero
14
0
1969-12-31

Re: If you think your profile will look messy on firefox and if you think your profile will look better on IE try this script. Just apply in your External JS file. [code] if(navigator.userAgent.indexOf("

:thumbsup: 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)

Pages: 1234

Board footer

© 2025 F Talk

Current time is 13:11

[ 12 queries - 0.015 second ]
Privacy Policy