D
D
Dmitry Gavrilenko2015-11-10 18:58:50
css
Dmitry Gavrilenko, 2015-11-10 18:58:50

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

1 answer(s)
A
Alexey Zuev, 2015-11-10
@Maddox

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 question

Ask a Question

731 491 924 answers to any question