html center image vertically in a code example
Example: html center image vertically in a
.yourContainer {
display: table-cell;
height: 300px;
text-align: center;
width: 300px;
vertical-align: middle;
}
.yourContainer {
display: table-cell;
height: 300px;
text-align: center;
width: 300px;
vertical-align: middle;
}