8 Replies
First of all, you should not set width:100%; on divs, divs are block elements, they already take full width. and you should not do height:100%; on all elements, learn how to use flexbox.
https://codepen.io/tok124/pen/GRLddrK
Yeah I know flexbox, but can't be achieve this with regular heights, I am just trying out different approaches
Why not use the way i made it? Why would you want height:100%; ?
No, I mean I use flexbox all the time for layouts like these, but I was just curious what people used to do before flexbox.
I think tables š
Lol are u sure
š
I better stick with flexbox then
Depends on what kind of layout you were going for. But if i wanted something like this and i did not have flexbox or grid. I would most likely use a table ^^
Thank you. That's all I needed to know