In a big diva cycle I bring out the goods.

In a certain place this diva has a picture. I positioned it absolutely so that it was in that place after the withdrawal of goods in small div .

These little divas with goods climb, understandably, under this picture absolutely positioned. Maybe someone knows how to solve this problem. That the image was in its place, and the rest of the total space of the diva, as calculated, occupied small blocks with goods.

Closed due to the fact that off-topic participants cheops , zRrr , aleksandr barakin , Streletz , user194374 Jun 22 '16 at 5:52 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • “Questions asking for help with debugging (“ why does this code not work? ”) Should include the desired behavior, a specific problem or error, and a minimum code for playing it right in the question . Questions without an explicit description of the problem are useless for other visitors. See How to create minimal, self-sufficient and reproducible example . " - zRrr, aleksandr barakin, Streletz, Community Spirit
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • 3
    Sorry women Wanga no longer, would show your layout! The code should be invested in the snippet - user33274
  • The layout is large, it is necessary to lay out with styles. It won't fit here. I will add an explanation - two big pictures are in different corners of a common diva, small divas with goods should be displayed in a zigzag, bypassing big pictures as obstacles. Wow, that's the design, sorry. - lihim
  • without an example, do not say what to do - - user33274
  • #commonbackground {/ * General big background div * / height: 1952px; background-color: # f6f6f6; } - lihim
  • #picpromo {/ * Div with a large image "header promotional product" * / width: 586px; height: 650px; margin-top: 976px; margin-left: 585px; position: absolute; } - lihim

1 answer 1

Set the top padding to the size of the height of this image (which is absolutely positioned) and the small ones will not climb under it

  • The fact is that the withdrawal of small blocks with goods go zigzag. The big picture is like an obstacle that they bypass. - lihim
  • lay out at least a screen with these pictures as it should be and as it is - Artem Molotko
  • Nothing if I upload a link from the file hosting service to the file? And it will be possible in the browser to see everything as it is. - lihim
  • dropmefiles.com/vn2dx here is the link to the file with its extension only php removed on html and everything is beautiful there, as in the design - in a jerk
  • No, because you never position it here either you need to set float left instead of position absolute and put a block in the right place or use some kind of plugin like Masonry - Artem Molotko