W3C home > Mailing lists > Public > public-html@w3.org > June 2007

Re: About dropping the style attribute

From: Craig Francis <craig@synergycms.com>
Date: Sun, 24 Jun 2007 11:45:20 +0100
Message-Id: <F4D33F8F-AC27-42AA-9E3A-533B90310DBE@synergycms.com>
Cc: "Alfonso Martínez de Lizarrondo" <amla70@gmail.com>, "HTML WG" <public-html@w3.org>
To: Ben Boyle <benjamins.boyle@gmail.com>

On 24 Jun 2007, at 05:10, Ben Boyle wrote:
> On 6/24/07, Craig Francis <craig@synergycms.com> wrote:
>> I have done a couple of websites where flat CSS files have been used
>> to create the overall look and feel of the website, but the odd rule
>> is tweaked in the HTML, which has been generated by PHP.
>
> You may find "scoped style" does some of what you need from a style
> attribute...?
> http://dev.w3.org/cvsweb/~checkout~/html5/spec/Overview.html#the-style


Yes, the @scoped attribute does look quite interesting, but how many  
years do we have to wait until the browsers support it? - will it  
make it into IE10 for instance?

I agree with Anne's comments though about the media selection, and  
alternative style sheets... but I think that is a feature for website  
authors to use, if they want to use that feature... most websites  
seem to only be built for the 'screen' media type...

...or 'screen,screen' to get NS4 to ignore it ;-)

Craig
Received on Sunday, 24 June 2007 10:49:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:01 GMT