Good afternoon, I'm creating a layout with height:100%
where I have 2 groups, and within each group I align the DIV
s vertically and if any DIV
does not fit in height
max or there is resize
da page, it goes to another column, as in the example:
Note that the 2nd group is overlapping the 2nd column in front of the 1st group.
I would like the 2nd group to start later (to the right) of the last column of the 1st group. Is there something wrong or could be adjusted in CSS
?
I made 'technical adjustments' via JavaScript
by taking the distance from the last div
contained in the 1st group and set a left
in the 2nd group, and if I had a 3rd group, I would repeat this process between 2nd and 3º and so on. I found a lot gambiarra .