A method, div are provided two display: table-cell;
Method two, parent div setting the display: -webkit-Box;