Probaly linking is being cashed and @import not? Loading times? http://bluerobot.com/web/css/fouc.asp/
> On Mon, Jan 12, 2009 at 11:04 AM, <dsm...@flvs.net> wrote: > >> Hi >> I teach Web Design and really focus on standards and best practices. >> When >> using external style sheets I have always had students link the style >> sheet. Recently some students have begun using the @import >> url("main.css");I understand how to use both. I am just wondering what >> the >> best practice is and why. . All comments and suggestions are welcome and >> helpful. >> Thanks! >> >> Smiles, >> Debbie Smith >> > > Unless our wiser members speak up, the only difference I can see is hiding > @import styles from browsers that can't process then (Netscape, etc). > Also, > I believe using @import rules may have a chance of content being displayed > before styling is applied, but I've not used it enough to test. > > Outside of that, they're mostly interchangeable. Links can specify > alternate > style sheets, whereas @import can't. I used @import for a while (it was a > phase, just like rolled pants legs and hair bands), but mostly just use > link > for semantic purposes. > > -- > -Jack Timmons > http://www.trotlc.com > Twitter: @jorachim > ______________________________________________________________________ > css-discuss [cs...@lists.css-discuss.org] > http://www.css-discuss.org/mailman/listinfo/css-d > List wiki/FAQ -- http://css-discuss.incutio.com/ > List policies -- http://css-discuss.org/policies.html > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/