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

----- 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
specifications.

--
Braden N. McDaniel
braden@endoframe.com
<URL:http://www.endoframe.com>

Received on Thursday, 9 September 1999 01:12:13 UTC