W3C home > Mailing lists > Public > www-style@w3.org > June 1996

RE: LINK'ed style sheets

From: Chris Wilson (PSD) <cwilso@microsoft.com>
Date: Mon, 17 Jun 1996 09:55:29 -0700
Message-Id: <c=US%a=_%p=msft%l=RED-76-MSG-960617165529Z-15339@tide19.microsoft.com>
To: "'www-style@w3.org'" <www-style@w3.org>, "'mseaton@pobox.com'" <mseaton@pobox.com>
You can also surround the contents of the <STYLE>-contained embedded
stylesheet with comments, similar to the <SCRIPT> commenting procedure. 
E.g.,

<STYLE>
<!--
H1 { text-decoration: underline; color: blue }
P { color: red }
-->
</STYLE>

Planned implementation is, I believe, to apply <LINK>ed stylesheets
automatically, but allow the user to selectively turn them off. 
Comments on this plan are welcome.

	-Chris
Chris Wilson
cwilso@microsoft.com
-[-

>----------
>From: 	mseaton@pobox.com[SMTP:mseaton@pobox.com]
>Sent: 	Sunday, June 16, 1996 11:34 AM
>To: 	www-style@w3.org
>Subject: 	Re: LINK'ed style sheets
>
>http://www.w3.org/pub/WWW/Style/css/msie/link.htm:
>> In MS IE 3.0 beta 1, a style sheet referenced through the LINK element 
>> will automatically be applied to a document. However, according to
>                                                        ^^^^^^^^^ ^^ 
>> the specification, the LINK element should be used to refer to 
>  ^^^ ^^^^^^^^^^^^^
>> alternative style sheets that the user can select. If you style sheets to 
>> be automatically applied, the @import .. construct within the 
>> STYLE element is better: 
>
>Here is the actual wording:
>
>: Authors can use LINK elements to offer readers a choice of style
>sheets, 
>: e.g: 
>
>:  <LINK TITLE="Old" REL=stylesheet HREF="old.style"
>TYPE="application/dsssl">
>
>:  <LINK TITLE="New" REL=stylesheet HREF="new.style"
>TYPE="application/rtf">
>:  <LINK TITLE="Wacky" REL=stylesheet HREF="wacky.style"
>TYPE="text/css">
>
>Nowhere does it say that <STYLE> *must* be used for a style sheet to be
>
>automatically applied.  I also feel it would be foolish to insist on
>this, as 
><STYLE> results in the style sheet appearing as gibberish at the start
>of the 
>page on browsers that do not support it, while <LINK rel=stylesheet> is
>simply 
>ignored.
>
>--
>Michael Seaton (mseaton@inforamp.net)
>
>
Received on Monday, 17 June 1996 12:55:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:44 GMT