I am stuck in this problem and could not get out of this. Please help me.

On my webpage, I used 3 divs in a div container. I am trying to remove an unwanted gap between divs.
- (1) Top image bg
- (2) Medium image bg
- (3) Bottom Image bg
I am trying to customize these 3 divs so that it looks like a single bg image. My middle part and the lower part are fully adjusted, but the upper part and the middle part have some gap between the one I am trying to remove but cannot.
Please refer to the image that I have attached here, which shows the gap between the upper and middle parts. Please refer to the style sheet data that I used to place the images.
Thanks in advance.
#main_container {
background-repeat:no-repeat;
width:645px;
float:left;
padding-bottom:10px;
overflow:hidden;
height:auto;
}
#middle_part {
background-image: url('/DiscoverCenter/images/apps_mid.png');
background-repeat:repeat-y;
width:645px;
padding-bottom:10px;
overflow:hidden;
height:auto;
clear:both;
position:relative;
display: block;
vertical-align: bottom;
}
#top_part {
background-image:url('/DiscoverCenter/images/apps_top.png');
width:645px;
top:0px;
height:47px;
clear:both;
position:relative;
display: block;
vertical-align: bottom;
}
#bottom_part {
background-image:url('/DiscoverCenter/images/apps_btm.png');
width:645px;
height:24px;
}