<!doctype html>
<meta charset= "Utf-8" >
<title> block Element Vertical Horizontal Center </title>
<style>
ul,li{list-style:none;padding:0;margin:0;}
. content{border-top:1px solid #8e8e8e; border-bottom:1px solid #8e8e8e; width:1000px;text-align:center;margin:0 Auto;}
. Box{display:inline-block;*display:inline;*zoom:1;}
. middle{display:table-cell;vertical-align:middle;height:150px;}
li{padding:0 40px;color: #636363; line-height:26px;font-size:14px;}
</style>
<body>
<div class= "Content" >
<div class= "box" ><div class= "Middle" ></div> </div
><div class= "box" ><div class= "middle" ><ul><li> model:xxx</li><li> Brand: xxx</ Number of li><li>: Xxx</li></ul></div></div
><div class= "box" ><div class= "Middle" ><ul><li>XXX:</li></ul></div> </div
><div class= "box" ><div class= "Middle" ><ul><li>xxx</li><li>xxxxxx</li ></ul></div></div
><div class= "box" ><div class= "Middle" ><ul><li>XXX</li><li>XXX</li> <li>XXX</li></ul></div></div>
</div>
</body>
How CSS implements the vertical horizontal center effect of unknown wide-height block elements