I’m sorry, I want to center vertically within a section, not the browser window. I feel like I’ve done that before but it’s not working now. So do I need to set a manual height for the section?
Yes. and all of the divs in that chain have to have %. or set the height on the direct parent that the part you want centered is in and leave everything else auto. Either scenario will work.
Thanks Dave. This is one thing that for a non-designer needs to be more intuitive. A center align control that’s not mired in code speak. Center this, boom, done. That’s what I want.
@DFink wont flexbox work for this? Set your section to display as flex then choose to vertically centre the content?
Yes, that post was from before flexbox was launched.