When there is a code tag with long lines of code and a table around the post (like the Profile - Show Posts area with old style block menu), code tag widens the page and makes it a lot wide than it should be.
Attached a screen shot. You can also view the issue here:
http://www.simplemachines.org/community/index.php?action=profile;u=198898;area=showposts;start=300;theme=1
Note that, this only happens in Mozilla Firefox 3.
Thanks,
Bug #3409: Long code blocks can break page layout in show posts (http://dev.simplemachines.org/mantis/view.php?id=3409)
Fixed in the svn.
Any chance you give a clue on the fix then? Not sure how you were able to fix it with PersonalMessage.template.php.
Also note that this is not something only related to Show Posts page. If you have a table around the forum body, and there is a code tag with long lines of code in Message Display page, the same happens there too. So this is a global issue about code tags, possibly the white-space: nowrap it has.
I added to the <table> around line 163
style="table-layout: fixed;"
The td on line 298 - added width="5%"
Changed the width on line 301 from 75% to width="70%"
The td on line 304 - added width="25%"