Take a look at this question. It was asked and answered a number of years ago. The gist of it is that the question asks
Is it possible to do this in CSS?
and the accepted answer says
Here is a jQuery solution
while a number of other answers say
No, it's not possible to do this in CSS, but here is a jQuery solution
or even
Actually, you can work around this using CSS
The accepted answer has been heavily downvoted (30 downvotes and counting) because it is seen as skirting the question altogether, but the asker never explains in a comment or edit to reflect why they accepted that particular answer in spite of this apparent conflict. Not only that, but the asker made a few edits and comments to the question and the other answers, yet none of these actions attempted to clarify this either. In fact, if anything, their comment on one of the answers seems to further cement the original point of the question.
At this point, any of the following actions would have resolved this conflict (and stopped the downvotes) quite easily:
- The asker chooses a different answer that actually addresses the question somehow. This would also give the answerer a chance to delete their answer if they didn't want to deal with the downvotes, but I have a sneaking suspicion that the downvotes were because it was accepted in the first place...
- The asker edits their question to reflect the choice of accepted answer. Something as simple as "If it's not possible, jQuery is an option." and/or a retag would have sufficed.
- The answerer edits their answer so it actually answers the question. This would have been pretty trivial to do as well.
But instead, shortly after the answer was accepted, the answerer added the jquery tag (and later javascript css-selectors) to the question, presumably on behalf of the asker based on their acceptance. I rolled it back on grounds that you shouldn't change a question to suit your answer. Someone else even pointed this out in a comment, and for all we know some of the downvotes could have been cast for this reason alone.
But at this point, given the large number of downvotes it has received, does it matter anymore who edits the question or answer, since neither will the asker nor the answerer do what they're in the best position to do based on the accept mark? Is there any recourse left for the accepted answer since, realistically, the downvotes won't be retracted even after it's been edited to satisfaction, and it'll take at least another 15 upvotes just to bring it back to the surface?
Note that by the time I rolled it back, it was several years after the question was first asked and the answer was already pretty badly downvoted in spite of the edit, and the asker has not attempted to dispute the edit, or participated in the question in any way ever since. Also, at some point in time, the question was automatically converted to a wiki because it was edited by many users, but I don't know if the retag was made before or after the conversion. I removed the wiki on the assumption that the asker never intended for it to be a wiki in the first place. And I only post this now because I happened to revisit the question after it was linked elsewhere today.