W3C home > Mailing lists > Public > www-style@w3.org > December 2000

Re: <link> vs <style></style>

From: Jerrad Pierce <belg4mit@CALLOWAY.MIT.EDU>
Date: Fri, 15 Dec 2000 15:18:37 EST
Message-Id: <200012152018.PAA28487@cab-calloway.mit.edu>
To: www-style@w3.org
Actually, I believe everyone is missing the most significant point.
With a <link> the style sheet is cached, seperately from the document.
With an inline style sheet you are resending the same data (whether
it be inserted manually or via SSI).

So <link> is by far the better choice. There is one caveat though.
If you are linking against a non-exuistant doucment (it moves),
Netscape 4.x will not be able to display the page (as long as Javascript and
Style Sheets are enabled). It will instead display the 404 for the <link>

#!/usr/bin/perl -nl
$_="Gnxr 1-3 ng n gvzr, gur ynfg bar vf cbvfba.";&{$F[0]};sub t{*t=sub{};
return if rand()<.5;$_="Vg'f abg lbhe ghea lrg, abj tb.";&{$F[0]};$_=0;}
sub v{print map sprintf('%c', 2**7-2**2),(1 .. $0);}&v;}{$_++;$_--;$_||=4;
if($_>>2||($_<<2>12)){$_="Vainyvq ragel";&{$F[0]};last;}&t;$0-=$_;$_="Lbh jva";
die(&{$F[0]}) if !($0-1);$0-=$0%2?$0>2?2:1:$0<=5?$0>2?3:1:rand>.5?1:3;
$_="V jva";die(&{$F[0]}) if !($0-1>1);}&v __END__ http://pthbb.org/
MOTD on Prickle-Prickle, the 57th of The Aftermath, in the YOLD 3166:

The more it stays the same, the less it changes.
Received on Friday, 15 December 2000 15:17:52 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:56 UTC