Trying to achieve a specific layout, which can be better understood by checking out this fiddle:
https://jsfiddle.net/zbh8ewqg/
The goal is to align the #inner
div in such a way that its top matches with the top of the #outer
div.
While this might be feasible with JavaScript, is there a solution using just CSS?
(Keep in mind that the elements could change dynamically and the height may vary due to factors like font changes. Therefore, solutions relying on fixed numbers are not suitable. The aim is not to shift calculations from JavaScript to manual effort.)