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