Answer the question
In order to leave comments, you need to log in
floating blocks. Equal width. Different height. Arrange without holes
Is there a way to arrange floating blocks of equal width and different height so that there are no "holes" vertically between them? That is, all the indents between the blocks must be equal in height and width.
Visually - as in advertising newspapers.
There are many and different ads, but the indents are equal (So it is necessary), and not a
bunch of white spots of different sizes between the ads, but each new row forms a horizontal upper border (I know such methods).
Answer the question
In order to leave comments, you need to log in
Maybe this will work for you:
desandro.com/resources/jquery-masonry/
In FF/Safari/Chrome this will work:
jsfiddle.net/uyaA5/
IE/Opera is not supported.
I think it would be better to use Javascript to lay out blocks in columns.
Look here softwaremaniacs.org/blog/category/primer/
Examples are just from such an area and everything is detailed - maybe you can pick something up
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question