On Wednesday 2009-06-24 17:21 +0100, Benjamin Hawkes-Lewis wrote: > On 24/6/09 16:19, Cristian Palmas wrote: > > So, I was wondering if there is someone working on CSS implementation in > > order to avoid the usage of extra markup. For example, a CSS way of creating > > on the fly markup elements ONLY for presentational purposes. > > Have any of you ever heard about something like that? > > In combination with CSS 2's :before and :after, the proposed CSS3 > selector ::outside would provide you most of the hooks you need without > polluting the DOM: > > http://www.w3.org/TR/css3-content/ > > I'm unaware of implementations of ::outside.
A more powerful solution for generating content for presentational purposes (among other things) is http://www.w3.org/TR/xbl/ . It's also probably more likely to be implemented than my ::outside / ::inside proposal. -David -- L. David Baron http://dbaron.org/ Mozilla Corporation http://www.mozilla.com/ ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/