This problem has been confounding me for quite some time now, even though the solution is likely very simple. I can't seem to figure out how to align two divs of different sizes side by side without one being pushed down a few lines when text is added to the first div.
Imagine the issue like this:
<html>
<body>
<div>
<div style="background:red; display:inline-block; height:100%; width:50%;">
aaa<br>
aaa<br>
aaa<br>
aaa<br>
</div>
<div style="background:green; display:inline-block; height:5em; width:5em;">
bbb
</div>
<div>
</body>
</html>
In addition, I'd prefer not to use the "position" property since I don't know the exact size of the "bbb" div and I intend to add more smaller divs below it.