Return to Snippet

Revision: 41193
at February 14, 2011 03:36 by alp


Initial Code
.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]-->

Initial URL

                                

Initial Description

                                

Initial Title
Centering a DIV of Unknown Width

Initial Tags

                                

Initial Language
CSS