DIV.container {
min-height: 10em;
display: table-cell;
vertical-align: middle }
but that didn't work either. I want my text to be centered vertically in my block, but I can't, for the life of me, figure out how to do it.. Please help
Posted 12 February 2009 - 02:41 PM
DIV.container {
min-height: 10em;
display: table-cell;
vertical-align: middle }
Posted 13 February 2009 - 08:36 AM
Posted 13 February 2009 - 02:48 PM
Posted 19 February 2009 - 01:12 AM
<STYLE type="text/css">
#container { width: 100%; height: 100%; display: table; }
#position { display: table-cell; vertical-align: middle; width: 100%; text-align: center; }
</STYLE>
Edited by harry819, 19 February 2009 - 01:15 AM.
0 members, 1 guests, 0 anonymous users