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

Re: About dropping the style attribute

From: Patrick Garies <pgaries@fastmail.us>
Date: Sat, 23 Jun 2007 20:15:11 -0500
Message-ID: <467DC59F.2000101@fastmail.us>
To: "Craig Francis <craig@synergycms.com> HTML WG" <public-html@w3.org>

Craig Francis wrote:
> Considering that most CSS files are not generated by a server side 
> scripting/programming language, how would you generate dynamic styles 
> without the @style attribute?
DOM2 Style: http://www.w3.org/TR/DOM-Level-2-Style/
CSSOM: 
http://dev.w3.org/cvsweb/~checkout~/csswg/cssom/Overview.html?content-type=text/html;%20charset=utf-8

You can also use "document.createElement()" to generate "style" or 
"link" elements.
Received on Sunday, 24 June 2007 16:33:33 GMT

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