add content to and format border. add html content to body segment.