poziome i pionowe wycentrowanie treści na stronie (css i html)
css:
.outer {
display: table;
position: absolute;
height: 100%;
width: 100%;
text-align: center;
}
.middle {
display: table-cell;
vertical-align: middle;
}
.inner {
margin: 0 auto 0;
width: 95%;
text-align: center;
}
i html:
treść strony
Uwaga ważne, aby: html { height: 100% }

Najnowsze komentarze