[Javascript] CSS multibrowser

German Sibay gsibay at hexacta.com
Thu May 12 09:38:43 CDT 2005


Thanks a lot! I didn´t know about conditional comments!
I found this on google http://hem.fyristorg.com/g-force/test/hidecss.htm 
wich explains how to hide css from different browsers using that. I hope this helps other people.
Thanks again.
Germán


-----Original Message-----
From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu] On Behalf Of Hassan Schroeder
Sent: Thursday, May 12, 2005 11:10 AM
To: [JavaScript List]
Subject: Re: [Javascript] CSS multibrowser

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.


_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript





More information about the Javascript mailing list