How to avoid flex in the code below?
I was trying to make a UI. Initially, I was using float (and some positioning techniques) to reproduce the following design (the first half, which makes use of the flex properties), but I couldn't. So I researched on Internet, and I ended up learning flex. I think that's CSS3 (I don't go in that version of CSS in SoloLearn yet), but I wanna know how I would have made that design if I wouldn't know flex). Notes: * The image is positioned to the edge of the right side and is aligned vertically in the middle. * If the header is to long to fit in the container without altering the width of the page, it has to be able to scroll but without interfering with the image limits. * The total width of the container is undefined (it adapts to devices screen width), but the image has known dimensions. Hope your ideas! 😃 https://code.sololearn.com/W6ngthDq0TB1/?ref=app