horizontla center items code example
Example 1: how to horizontal center a div in css
#inner {
width: 50%;
margin: 0 auto;
}
Example 2: centering horizontally
div.center{display:block;margin:auto;width:50%;}
p.center{text-align:center;}
#inner {
width: 50%;
margin: 0 auto;
}
div.center{display:block;margin:auto;width:50%;}
p.center{text-align:center;}