未知宽度的居中DIV

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

.content {
	margin: 0 auto 8px;
	display: table;
	}

.content div {
	display: table-cell;
	}

<!--[if IE]>
.content {
	display: block;
	text-align: center;
	}
.content div {
	display: inline;
	zoom: 1;
}
<![endif]-->