Possible Duplicate:
How do I get my code blocks formatted?
where should we post large chunks of code that we don't want to clog up our posts?
Is there a way to make a scrollable code block? Or do we have to use external website like pastebin?
Second question - is there a more reliable way to paste code blocks? I'm finding it difficult to paste code on SO sometimes.. it will sometimes only take the 'middle chunk' of my code block as code, no matter what I do or how hard I indent or where i put the < code > blocks... any advise??