multiple brower css

admin

Administrator
Staff member
does ne1 know where i can get or what the code is for mutiple browser css?<br />
like what msn uses. 1 css for IE, 1 for NS, 1 for opera, etc.<!--content-->if msn has one than just take theirs.<!--content-->that's a good question. there's no easy answer.<br />
<br />
basically, you have to use your brain and find out what works with each browser. on MODERN browsers, MOST (but not all!!) CSS works very nearly the same (with several notable exceptions).<br />
<br />
so the thing is, it's not what you do, but how you do it.<br />
<br />
now, if you want separate CSS for each user agent (browser), then you can use what's commonly called a "sniffer" to detect the browser and write the name of the CSS file in the appropriate place. there are many different types of sniffers available: JavaScript (which relies on your visitor having J/S turned on in the first place (in my opinion not a good choice)), or server-side (PHP, ColdFusion, ASP, etc. - which your web host must be able to support).<br />
<br />
as you can tell, this is a very deep, hardcore issue!<!--content-->
 
Back
Top