you can add that part in your css or leave in html with style attribute.

For lines you can add borders, here is a quick way but you need to adjust your min-height according to your content. there is some other way you can check here
http://www.webtoolkit.info/css-clearfix.html

Below example will add quick dirty borders
Code: 
<style type="text/css">
#content{
	width: 400px;
	border-top: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	min-height: 50px;
	padding: 16px;
}
#right {
	float: right;
	border-left: 1px solid #CCC;
	padding: 16px;
}
#left {
	float:left;
	padding: 18px;
}
</style>

<div id="content">
<div id="right">
Your right content here
</div>

<div id="left">
Left content here
</div>
</div>