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: hassan at webtuitive.com (Hassan Schroeder)
  • Subject: [Javascript] CSS multibrowser
  • Date: Thu May 12 09:19:38 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@xxxxxxxxxxxxxx
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.