有人有可靠的标记/CSS,可以在所有浏览器中垂直对齐div吗?
可以在Firefox中工作,但在其他浏览器中不能。
.parent { display: table; }
.child { display: table-cell; } /* this panel is to align vertically in the middle*/