I'm trying to post some code on a blog using the pre tag. Something like this:
void function(){return 0;}
Now I want all this code to be center aligned. I'm not talking just about the text but also about the border around it. The width is set currently to 60%. So I want all of this to be center aligned. Is there a way to do it?