Within here I found the following solution for centering a div
within another div
:
.centerSplash {
position: absolute;
top: 50%;
left: 50%;
margin-right: -50%;
transform: translate(-50%, -50%);
}
So far, that works fine with FF.
In IE(9) it looks like this
----------------------------------------------------------
| | (-50% height to top of
+--------------------------------+ the outer div)
whereas Chrome shows:
----------------------------------------------------------
center of outer div
-----------> +--------------------------------+
| |
| |
+--------------------------------+
Does anyone have a solution CSS based, non jQuery, non JS and no table cells (that's all I already found here ....).
[edit]
just copied the relevant code here