- From: Sean Palmer <wapdesign@wapdesign.org.uk>
- Date: Wed, 22 Nov 2000 17:03:23 -0000
- To: <www-style@w3.org>
In the CSS2 spec. there is a style sheet to represent the default behaviour (i.e. style) that most browsers apply to HTML. However, there is the caveat that certain things like the display of images in <img> cannot be expressed. While this is not quite legal, has anyone considered the following:- @media screen { img { content: url(attr(src)); } } It's not legal becuase it CSS2 we can only concatenate "content" property values, and not nest them, but it opens up an interesting notion. If the WG would consider allowing nesting values in CSS3, it would therefore be possible to use CSS to describe the behaviour of the <img> element in HTML; although that would mean that the "content" property would become rather complex in its definition. Just a thought (IMHO etc.)..... Kindest Regards, Sean B. Palmer http://xhtml.waptechinfo.com/swr/ http://www.w3.org/WAI/ER/ http://www.w3.org/WAI/GL/ "Perhaps, but let's not get bogged down in semantics." - Homer J. Simpson, BABF07.
Received on Wednesday, 22 November 2000 12:04:30 UTC