I can understand that a question can be too localized, but a question with one sole answer should allow some space to multiple solutions (even if one has a lesser coverage or is more localized then the one provided):
I ran into this problem myself and tried the answer provided. After many minutes of playing around I found out the obvious solution, but even if the solution is obvious sometimes you don't see it immediately. I decided to add the obvious solution, so other users running into the same, had another option of solving the issue.
Then my answer got removed as "too localized". It was very frustrating, because it was my first contribution to the site and I was looking forward too slowly start giving back to the community (You should really encourage people trying to do a contribution and give some space for it).