Considering that I plan on using a lot code on this site, I put a lot of thought into the best fonts to use for readability. I ended up going by a programmers font guide from Mr. Lowing. The code highlights on these pages use the following fonts (in order of preference/availability): Bitstream Vera Sans Mono, Lucida Console, Consolas, Courier, monospace.
The result is below:
If everything went right, it should look like one of the following:
If you do not have one of those fonts, you should still see a monospaced font.