posting code

Hi Jeni,

I also had a similar problem with posting code in a webpage. The solution that I found was to add overflow auto to the pre element (and eventually a border) like below:

pre {
overflow: auto;
border: 1px dotted;
}

Here you have a sample to see how that looks like
http://georgebina.blogspot.com/2007/04/test.html

Hope that helps,
George

Reply

The content of this field is kept private and will not be shown publicly.