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/

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

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:14 UTC