- From: Chris Lilley <Chris.Lilley@sophia.inria.fr>
- Date: Tue, 27 May 1997 13:18:38 +0200 (MET)
- To: Terje@in-Progress.com (Terje Norderhaug), Wolfgang Klimt <klimt@informatik.tu-muenchen.de>, www-style@w3.org
On May 27, 2:08am, Terje Norderhaug wrote: > One possibility is that the tag didn't have a TYPE="text/css". It would be > reasonable to expect this to be implicit, but Netscape seems to have > declared their javascript stylesheet mix as the default, typically causing > error messages as the one you got. It seems they have, but the Working Draft on HTML and Style Sheets says: ======= <STYLE TYPE="text/css"> p { font-size: 12pt } </STYLE> The TYPE attribute defines style sheet language. [...] The style sheet language can be set with the META element, e.g. <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> The default style sheet language can also be set by HTTP headers, e.g. Content-Style-Type: text/css If there are more than one such element or corresponding HTTP header, then the last one takes precedence over earlier ones. HTTP headers are considered as occuring earlier than the document HEAD for this purpose. In the absence of either a META element or an HTTP header, as a last resort, the default style sheet language type is assumed to be "text/css". It is recommended that authoring tools generate a META element to prevent this situation from occurring. ====== I would expect that implementations which do not currently follow this behaviour will do so as the implementations are refined. -- Chris Lilley, W3C [ http://www.w3.org/ ] Graphics and Fonts Guy The World Wide Web Consortium http://www.w3.org/people/chris/ INRIA, Projet W3C chris@w3.org 2004 Rt des Lucioles / BP 93 +33 (0)4 93 65 79 87 06902 Sophia Antipolis Cedex, France
Received on Tuesday, 27 May 1997 07:20:16 UTC