[Javascript] CSS multibrowser

Hassan Schroeder hassan at webtuitive.com
Thu May 12 09:09:52 CDT 2005


German Sibay wrote:

> I have two different stylesheets, one for Mozilla and another for IE.

> <link href="../css/ie/tabs.css" rel="stylesheet" 	type="text/css"> 
> For IE
> Or this
> <link href="../css/moz/tabs.css" rel="stylesheet" 	type="text/css">
> For Moz
> 
> Can I easily change the complete stylesheet with a javascript function ...

You don't even need JS -- see IE "Conditional Comments", perfect
for exactly this type of thing:

<http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp>

HTH!
-- 
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.





More information about the Javascript mailing list