Need help with layout

Need help with layout


Hey guys! So I’m trying to create a webpage where I want two sections to be adjacent to each other, but I can’t figure out what I’m doing wrong, any help would be appreciated! Thank you


Hey, not sure if this is what your going for, but try wrapping your two divs (.imgone and .imgtw) in another div. Give it a class name, set height property to “100%” and display property to “flex”.


You could do it a few ways. Here is a simple example … if this is what you’re going for.


There are so much way to do this. Using grid or flex or float. Grid is just overkilling the problem, so float seems the good way to do it.
It’s simple to understand, here what you need to know to do this.