Yesterday I answered this question. I had 5 upvotes. Then question was closed, now it is completely removed and I've lost 50 rep. I dont understand this behavior... why the question has been removed and what is the a way to recover the rep?
The question seems to be from a person fiddling with web pages without knowing what she is doing (as we can see from the comments to the other answer).
Being a somewhat silly editing error, rather that a real programming problem, it is unlikely that the question will help others later. So it was removed.
Unfortunately, when the question is deleted, so is your answer. And unless the post has been open for several months, and thus shown some value, the rep is gone too.
The FAQ reports when questions are deleted.
You lose the reputation you gained from answers when the answer is deleted, or the question answered by your question is deleted, or your question is deleted. You retain the reputation only when the question is X days old.