Add div's around Related Posts and Comments

Topics: Themes
Jun 26, 2008 at 7:38 PM
In my theme, I'd like to put a box around the Related Posts section and the Comments section.

However, there is no div outside of these sections.  There's a div placed after the <h1>Related Posts</h1>, so I have to have "Related Posts" outside my box.

For example, this is what is generated:
<h1>Related posts</h1><div id="relatedPosts">...</div>

However, it would have been nice to have:
<div id="relatedPosts"><h1>Related posts</h1>...</div>

Just like there is for the "Add Comment" section.