@ Gary
Take a look at this FAQ, specifically the section about the code and pre HTML tags. If those exist, removing those should resolve the layout issue.
code
pre
Hope that helps!