I've never commented on your previous threads about your co-workers' childish behaviour (although I have read them) so forgive me for butting in. Take NetG, Krazyblondegurl and Wiley's advice.
I've worked in several male-dominated environments so I can definitely sympathize/empathize with you:
1) Stop engaging w/ them:
It's obvious that whatever personal view you express is going to be turned against you, so why give 'em a stick to beat you with? If it's not work related, then keep your words few.
2) Don't let them get to you:
Some men (obviously the ones you work with) are still boys mentally, and all they want is attention.
It does not matter whether it's positive or negative attention. It strokes their egos when you show emotion - be it humor or disgust - so they'll continue to say/do things to get a rise out of you. In a sick way, it gives them power over you, knowing that they can "play you" like that. So with that in mind, keep your emotions in check. Remember the old cliches "Keep a stiff upper lip", and "Be like a duck and let it roll off your back like water"? Yeah, do both.
3) Do your job, and do it well:
You aren't being paid to be their friend. You'll command more respect from them if you're the best at what you do. Personal conversation may help the day go by faster, but which would you rather have, personal banter with frustration OR keeping to yourself and maintaining mental peace?
4) Be "in control":
Say you're at your desk working and one of them approaches with a non-work related question or statement. Without looking up from your document/screen, hold up your index finger (as if to say "hold on a sec") and continue to view your document/screen for the next 5 or 10 seconds. After doing such, you can do 1 of 2 things:
a.)
Without looking up, say "Uh.... yeah... you know what, I'm right in the middle of this project and really need to give it my full attention...
maybe I'll catch up with you later..." (but never do, of course);
b.) OR, turn your head to them,
but keep your eyes on the document/screen and then distractedly say, "Ummm...
what?"
Making them wait for your response gives the signal that you'll answer them when it's convenient to YOU. Never giving them eye contact says that their presence/question really isn't that important to you. Starting your sentence with "uh" or "um" means you've paid no attention to what what they said. An added plus - NO one likes to repeat him/herself, so it's a very subtle way of getting right back under their skin. *snarky grin*
This is one of my favorite methods of dealing w/ annoying people.
5) If at all possible, wear headphones and listen to music while you work. If those dudes make bothersome comments within earshot, well, they can't bug you if you can't hear them. Once they get a clue that you're not phased and/or ignoring them, they'll leave you alone.
Sorry for the dissertation, but I hope this helps. The above ladies already gave you the meat, I'm just adding some steak sauce.