I searched a lot and can't find a css solution to vertically align content.
All the solutions that I see here in SO and the top google articles require that I have a container with a fixed height, the content of which cannot exceed. I can not guarantee that as the content is dynamically created.
The only reserve I have that I can do the work is some javascript to programmatically measure the inner container and set its margin-top. This is really bad, but this is the only way to work. :(
See this js fiddle for an example of the markup I want to create.
I'm glad to forget IE6 for this, but you need to support IE7 + and the latest webkit + firefox ...
Does anyone know only about CSS solution?
Chris source
share