I would like to select <label> elements that immediately precede <input type="checkbox">
from the CSS guide
Adjacent sibling selectors have the
following syntax: E1 + E2, where E2 is
the subject of the selector.
But, unless I’m misunderstanding the spec I need a select where E1 is the subject not E2. I’m sure this must be available, what am I missing?
Actually no, youre not missing anything (unless i have been for quite some time now as well) – you cant select a previous sibling with css2 selectors.