Wed, 07 May 2008 08:26:43 -0800, /darius/:
In short no. One of the reasons is it makes the progressive
rendering harder if not impossible. Next I've heard there are
issues with the performance in cases of dynamic DOM and style
changes, but I'm not really a CSS implementor and cannot give you
further details.
You should better refer to <http://www.w3.org/TR/CSS21/regarding
CSS Level 2 as it is de facto the real standard. Multiple class
selectors are covered in that same document you're referring to:
The meaning of the 'class' attribute is covered by the HTML
specification:
--
Stanimir
1) Is it possible to select a parent. For ex, I want to apply a style to
an anchor link that is wrapped around an image,
>
<a href="/"><img src ="home.gif" /></a>
>
something like "a < img". Right now, I define an "a.img" class.
an anchor link that is wrapped around an image,
>
<a href="/"><img src ="home.gif" /></a>
>
something like "a < img". Right now, I define an "a.img" class.
rendering harder if not impossible. Next I've heard there are
issues with the performance in cases of dynamic DOM and style
changes, but I'm not really a CSS implementor and cannot give you
further details.
2) Viewing page source, I sometimes come across something like this
>
<div class="foo bar">
>
What is that? It doesn't seem to be covered on http://www.w3.org/TR/REC-CSS2/selector.html
>
<div class="foo bar">
>
What is that? It doesn't seem to be covered on http://www.w3.org/TR/REC-CSS2/selector.html
CSS Level 2 as it is de facto the real standard. Multiple class
selectors are covered in that same document you're referring to:
The meaning of the 'class' attribute is covered by the HTML
specification:
--
Stanimir