margin:左右外边距累加,上下外边距合并(取最大值)
margin:0px auto;只能让块集元素在父级范围内水平居中
*{//清除内外边距,因为有些标签在浏览器中有默认的边距 margin:0; padding:0; }