A year ago I asked a question about CSS:
CSS display div on another div:hover
I have just edited because it was hard to read, and the code wouldn't run because of its bad formatting.
You can see the old version and the revision here:
https://stackoverflow.com/posts/32359300/revisions
Upon re-reading of the answers, I realized the answer with the most upvotes (3), which I originally accepted, is actually really bad advice. The author of the answer, however, answered the question correctly in the comments, after I asked further doubts.
I have left the following comment:
I have edited this old question to make it more readable. After some time, I no longer consider your answer appropriate, but this last comment you made answers it better [...] I am considering deleting the question, but if you modify your answer with your comment I will keep it.
Take into account that the answer he gave (without the comment) was really not good advice (using !important
instead of fixing the selector priority issue I had) and it wasn't (in my eyes) good input for SO.
Do you think my approach to this issue is appropriate? What could I have done better?