With what virus?
There are none for Mac OS X, so how can one get infected?
Or are you confusing worms, trojans and other malware with viruses?
How should I know, I can't tell the future! Can you?
Right now there aren't any viruses for OS X but this doesn't mean it will always be that way. We can't look into the future so we can't say for sure that there never ever will be any viruses for OS X.
Yeah well, theoretically, my foot is a magical unicorn.
Tell me. If I can "certainly" get infected without any social engineering required , why hasn't it happened on a large scale yet. Market share? Black hats afraid of Jobs? If OS X is touted as the most unsecure OS on the planet, why haven't my boxes been utilzed in the most epic botnet in the world comprised of the most unguarded machines connected to the internet? I have plenty of bandwidth that could be utilized. Why hasn't anyone latched on while my machine wafts in the wind? I know what goes in n' out on my pipes, and to quote the words of a famous singer, I "ain't seen nothing yet".
Ah, we have some who can look into the future. Alright then, tell me, what viruses will be coming our way, when will the Mac Pro, the Mac mini and the MacBook Air get an update? What will happen to Adobe's Flash?
Again, try and comprehend what people are telling you. No one can tell the future so there is no certainty that there will never ever be a virus for OS X. It could happen but it may not, we just don't know. That's why people call it a "theoretical" chance and put the word between quotes. It's a way of expressing uncertainty. It's just linguistics.
There are Linux and OS X machines that are part of some botnets. Safari is one of the main reasons for the OS X security leaks. In that regard it's starting to look like Windows-IE :X Just because you're not part of it or don't know you're part of it doesn't mean it doesn't exist (that way of thinking is rather selfish). You may haven taken enough precautions like a lot of other people. The person who is administering the machine is what makes a difference regarding how secure a machine is. Security does not work the way you seem to think it works. Btw, it's not viruses that put you in a botnet, they're too stupid to do that. The can only infect a machine not let somebody remote control a machine.
Try reading posts #17 en #19 again.
The OP asked, "can (present tense, as opposed to "could") you get a virus from visiting websites?" The answer is no, theoretically or practically. At the present time, you cannot get a virus on Mac OS X, because at the present time, no virus exists that runs on Mac OS X. Could this change in the future? Of course, but that's not what the OP asked.
That depends how you read that question. He was asking if you can get a virus on a Mac which is a yes. In both theory and in reality. There are some macro viruses for Office for Mac and we have Windows viruses (reality). The future might be different but we simply can't tell (theory). The OP should've asked if he should be worried about things like viruses on a Mac. The answer to that is a simple "no, but maybe in the future, we don't know what the future holds". Just don't think you're 100% safe on OS X because no OS is safe, they're all flawed in some way. Accept that and take the appropriate measures which mostly come down to behavioural things as well as software measures like using a firewall. There's no need for a virus scanner on OS X (the available ones mostly are Windows virus scanners which is nice for your Windows friends) but you do need something like a firewall and you do need to watch what you're doing.
Again, this was already posted in post #17 so nothing really new here.