E
E
Egor S2015-09-25 18:51:13
css
Egor S, 2015-09-25 18:51:13

How to place a block under float blocks?

There are two blocks with float left/right. Under these blocks, you need to place another one, but it runs into the top. You can use clear:both, but then margin-top doesn't work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex K, 2015-09-25
@mortyyyy

Wrap these two blocks in a DIV and set it to { overflow: hidden }

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question