Home › Forums › CSS › vertical centering nested content in a div › Reply To: vertical centering nested content in a div
September 13, 2013 at 11:16 am
#149994
Participant
I’m using that markup for a specific reason as part of a larger project. There is some js which refers to all child divs, they then inherit the styles forced by that js.
Thanks for your restructure, but it still has the same issue with vertically centering the featureText container with in the hight of the feature div regardless of the content within the featureText container.
Did you check the page with firebug? Toggling off and on the top:-50% property fixes it in browser, but doesn’t explain while its not taking it into account when the page is loaded. I’ve check through the styles and I can’t see any inherency issues.