Pages

Align div vertical center - the old way

.ParentDiv {


height: 100%;

width: 100%;

display: table;


}


.ChildDiv{


display: table-cell;

vertical-align: middle;

text-align: center;


}

Search This Blog