I am developing a webpage that contains nested DIVs. My main concern is ensuring that one specific DIV element (with the IDs of first_tab and second_tab) fills the space of its parent element (with the ID of div_korpus) consistently across different screen resolutions and browsers, especially in terms of its height relative to its parent's height.
Currently, I have been using "em" units for measuring the height, which have worked well to some extent. However, at higher screen resolutions, there tends to be excess space below the DIV element. I also attempted using viewport units ("vh"), but encountered similar issues where the entire left panel would shift when certain links were clicked (Ln1, Ln2, Ln3).
I am seeking advice on the most appropriate unit of measurement to use in this scenario to achieve the desired outcome.
HTML/CSS code snippets go here...