Title: horizontally center a
in another
?                                 If you need copy same format use firefox or chrome or safari but iexplorer not work


Preview of Code
#inner {
  display: table;
  margin: 0 auto;
}
<div id="outer" style="width:100%">
  <div id="inner">Foo foo</div>
</div>
 
--------------------------------------
 
#outer {
  width: 100%;
  text-align: center;
}
 
#inner {
  display: inline-block;
}
<div id="outer">  
    <div id="inner">Foo foo</div>
</div>
 Run code s