W3C home > Mailing lists > Public > www-style@w3.org > September 1999

Re: Minor error in CSS2, section 14.2; 'background'

From: Braden N. McDaniel <braden@shadow.net>
Date: Thu, 9 Sep 1999 01:06:54 -0400
Message-ID: <000b01befa81$49294840$173a11cf@bonezero>
To: "gordon" <gordon@quartz.gly.fsu.edu>, "'www-style'" <www-style@w3.org>
----- Original Message -----
From: gordon <gordon@quartz.gly.fsu.edu>
To: 'www-style' <www-style@w3.org>
Sent: Thursday, September 09, 1999 12:24 AM
Subject: Re: Minor error in CSS2, section 14.2; 'background'

> Easy enough.
> A document with style added to the html element:
> http://gly.fsu.edu/~gordon/html.html
> http://validator.w3.org/check?uri=http://gly.fsu.edu/~gordon/html.html
> The same document with the style attribute removed:
> http://gly.fsu.edu/~gordon/html2.html
> http://validator.w3.org/check?uri=http://gly.fsu.edu/~gordon/html2.html
> [please note that these are very simple documents!]

Your original posting talked about the STYLE element. These are examples of
a STYLE attribute.

I think you need to put the CSS1 spec in the proper context. First and
foremost, it specifies CSS, not HTML. Second, it was published as a W3C
Recommendation well over a year before HTML 4.0 reached that status. As
such, many examples integrating HTML and CSS had to be based on specs that
were moving targets at the time.

I don't know the answer to why the HTML element in HTML 4.0 and XHTML don't
include a STYLE attribute. However, the intent of this example in the CSS1
text is to demonstrate the application of styles to the HTML element, and
that remains quite doable within the confines of current published

Braden N. McDaniel
Received on Thursday, 9 September 1999 01:12:13 UTC

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