<div id="outer"> <div id="inner">fsaf</div> </div>
#outer{ width:100%; text-align:center; background-color:red; } #inner{ color:black; }