Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Re-ordering divs and position/layout, is flexbox the answer? Reply To: Re-ordering divs and position/layout, is flexbox the answer?

#236440
grimski
Participant

Thanks @gcyrillus, yeah maybe display: grid; will solve problems like this in the near future!

I suppose there’s not a lot of difference from my approach and the 2 you’ve listed but your versions have the added benefit of being able to centre the content, which would be very handy for me.

Essentially my content has been taken out of the flow in a roundabout way and although I’d prefer not to use position: absolute;, I can’t see any reason why it would render any differently than my example – providing a min-height is set on the container. It also has the added benefit of not needing to wrap additional content in divs to float them!