darius wrote:
No, although reading the W3C CSS archives, a proposal comes up every few
months. Style varies greatly between proposals, though....
It's more of an HTML thing, but it's a div with multiple classes. You
can select it with div.foo, div.bar, or div.foo.bar...
--
Beware of bugs in the above code; I have only proved it correct, not
tried it. -- Donald E. Knuth
Hi
>
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.
>
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.
months. Style varies greatly between proposals, though....
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
can select it with div.foo, div.bar, or div.foo.bar...
--
Beware of bugs in the above code; I have only proved it correct, not
tried it. -- Donald E. Knuth