If you do not specify a width at all or a height, if the div would not be displayed, if something was not in it. You can use the minimum and maximum width attributes to handle this.
In this case, I would have: divs for A, B and C that have no properties and all are float. Around these divs, I will have a div container with a certain width and height, and the overflow will be hidden. I would assign A, B and C max widths that are suitable (I'm not sure that someday there will be a situation when they say that B and C are not there, and A needs to be filled).
source share