Previous Message
Next Message

Pros and Cons of JavaScript vs. @Import

Sent by Francesco on 6 August 2004 20:08


On Fri, 6 Aug 2004 14:56:07 -0400, "Craddock, Melissa" [EMAIL-REMOVED]>
said:
>  
> Without getting into a discussion about which is better, could I get
> some "real world" Pros and Cons about using @import rather than serving
> up separate stylesheets based on detecting the browser with Javascript?
> That way I can make an informed decision on which route would be the
> best for us to use.

Melissa,

For one, if users have Javascript disabled, which is becoming a more
prevalent practice today, your code won't run.

---------------------------------------------
Francesco Sanfilippo   Blackcoil Productions
---------------------------------------------
http://blackcoil.com       http://url123.com
---------------------------------------------

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: