Actually, using @import has another side effect too: When saving the page,
not all CSS is saved (depends on browser, of course). Using link makes sure
that all CSS is going to be saved.
So unless a robust technical reason is given, I'm in support of getting rid
of @imports (only because they're supported and classy, doesn't mean they
should be used).
Hojjat (aka Huji)
On Thu, Jun 12, 2008 at 9:28 PM, Chad <innocentkiller(a)gmail.com> wrote:
On Thu, Jun 12, 2008 at 12:33 PM, howard chen
<howachen(a)gmail.com> wrote:
A tips from Yahoo:
http://developer.yahoo.com/performance/rules.htm
==============
One of the previous best practices states that CSS should be at the
top in order to allow for progressive rendering.
In IE @import behaves the same as using <link> at the bottom of the
page, so it's best not to use it.
=============
Maybe wikipedia should consider this?
Howard
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Note to others, HTM on the URL should be HTML
-Chad
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l