|
Vertically center a div.
I know this has been asked again and again but after much searching on Google and numerous attempts myself, I am unable to come up with a solution that works.
I am trying to center a DIV vertically inside of another DIV. The outer DIV has a height that is set using document.documentElement.clientHieght. The inner DIV's height is variable and unknown.
Any help is appreciated. Thanks
|