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

RE: Versioning and html[5]

From: Chris Wilson <Chris.Wilson@microsoft.com>
Date: Fri, 13 Apr 2007 11:20:02 -0700
To: Dave Raggett <dsr@w3.org>
CC: "public-html@w3.org" <public-html@w3.org>
Message-ID: <5C276AFCCD083E4F94BD5C2DA883F05A27D71926FB@tk5-exmlt-w600.wingroup.windeploy.ntdev.microsoft.com>

Dave Raggett [mailto:dsr@w3.org] wrote:
>IE conditional comments for HTML are better than selector hacks, but
>have to be placed in the HTML and there is currently no direct
>equivalent within CSS.

We did propose this in the CSS WG a couple of years ago, and got shot down.

>BTW what is the recommended way to provide different styles for when
>scripting is enabled and when it is disabled?  It is easy to think
>of solutions, e.g. adding or removing classes from the onload event
>or using document.write to link to a style sheet, but it would be
>nice to have something that feels less of a kludge.

Hmm.  Can't think of one I'd specifically recommend.  Perhaps the best one would be to set up an alternate style sheet and then enable it through the OM.

-Chris
Received on Friday, 13 April 2007 18:20:08 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:42 UTC