CSS positioning

Which is the best CSS positioning option for two column or three column layout or any other.

thanks

If you want browser support, go with floats. Otherwise, flexbox away!

There are a number of ways. using table-cell or flex box seem to be the most common of the current methods.

Interestnig enough, I found this on codepen today. It shows the different methods which are commonly used.

1 Like

I will check it out later. But is there any any article which describes flexbox in deep.

I would do table/table-cell since that supports every browser IE8+. Floats only if you are trying to revive IE7 out of its grave. Iā€™d go with table/table-cell 95% of the time.

This was great for me, a while back. Should be fine for you.

3 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.