Answer the question
In order to leave comments, you need to log in
Why is the object not stretching?
There is an example . It shows a .sector stretching issue in the bottom box with scrolling due to overflow. Those. .sector adjusts to the parent when it overflows. How to make .sector go beyond .house?
Answer the question
In order to leave comments, you need to log in
If you use float, then if there is not enough space in the width, the block will go down. And your available width is 400px-2px(border)
Use inline-block in conjunction with nowrap for .block. Example
Or use inline-flex for .sector. Example
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question