I was thinking about the usage of divs for presentational purposes. I've used them several times in my designs to create particular graphical effects by means of CSS. Also in CSS Zen Garden, the HTML ource code to submit a design has 6 extra divs to be used for presentational purposes.
Anyway, nowadays the trend is to separate, as far as is possible, the structure (HTML) from the presentation (CSS) and the behaviour (Javascript). Using divs and CSS is one of the compromises to have those presentation effects impossible to obtain via CSS only. CSS can only style something present into the markup, indeed. 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? Regards. -- ~ Cristian Palmas ~ http://www.cristianpalmas.it ______________________________________________________________________ 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/