Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] CSS multibrowser


  • From: gsibay at hexacta.com (German Sibay)
  • Subject: [Javascript] CSS multibrowser
  • Date: Thu May 12 09:38:50 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@xxxxxxxxxx [mailto:javascript-bounces@xxxxxxxxxx] 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@xxxxxxxxxxxxxx
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.


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