Simply set the width of the outer DIV tag then set the width of the inner <DIV> and set its left right margin to auto. here is the complete CSS :
<style>
#style{display:block; width:100%}
.inner{display:block; margin:0 auto; width:80%; }
</style>
Replace 80% with the width of the inner DIV.