I am trying to create a layout using css, I have one main container (div) and two inner containers (div_upper and div_lower). let's say I want to resize div_upper and div_lower will automatically resize and both divs will still fit in the main container. I'm sure this can be done in javascript, but is there any CSS for this? if i was glad.
html css
khousuylong
source share