There are billions of people in the world so you can't expect that everyone will like you. What we often don't understand is when a person doesn't like you it is actually a mirror reflection of their own issues. You behave and the other person interprets the behaviors and then reacts based on their own perceptions.
People with integrity will still treat you with respect even if they do not like you. If a person treats you with disrespect than they are the one showing their true colors - which are not pretty.
Do not be tempted to be disrespectful in return. I often hear people say "but they started it," or "I'm just giving them what they gave me." This is childish and immature. You are the one who is compromising your integrity. You are allowing the other person to "get to you."
Be the better person even if you are the only one who knows YOU are better. This is being true to yourself. By not lowering your standards and you are being a good quality person with integrity. The other person is the one that is the bad person. Now, think about it... Do you really care if a bad person likes you or not? I hope not because YOU are better than that!
Let the bad person be a bad person but don't be negative or bad in return. Continue to be your good positive self and the world will be a happier place. Remember negative begets negative. Also remember that Karma will happen~ it always does although you may not be around to see it ~ just know they will not have a good happy life. Your success and happiness will be the best revenge. So if they start disliking you more - you are being the better person and that is irritating them that they can't make you like them (bad) or control you. Ahh the sweet success of living with integrity!