Sat, 8 Sep 2012 00:46:55 +0300, /Mampir/:

The sibling selector will select all dd elements in the list which are
after dt.collapse.  Including the dd element under other td elements.

In the example "dt.collapse ~ dd" will select <dd>lightblue</dd> and
<dd>darkblue</dd>.  That's not what I want.

Yes, I realized that immediately after sending my first reply. I thought the following could work in you case:

dt.collapse + dd,
dt.collapse ~ :not(dt) ~ dd {
  ...
}

but it doesn't.

--
Stanimir
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to