Originally Posted by AndrewGSW
Change + for ~ !
Fascinating. Changed both of them, by the way, and it worked fine. (Also worked when only the span.red was change.)
Why did the + work, at all???
EDIT: Oh, stupid me. + means "immediately following" where ~ means "any following". DOH. Nice.
Now to figure out how to change the color of text that *precedes* the checkbox. I don't think there is a CSS selector that will do that, but we could do it a different way, I think...hmmm...
By the by, so far as I can tell, the z-indexes you used don't do anything. I changed your z-index of 8 to 25 and it made no difference.