@ michael birch
Take a look at this FAQ, especially the section on the code and pre tags. That should fix you up. If it does not, please let me know.