Keeping the alignment of Divs displayed inline

Marius
Posts: 58

Keeping the alignment of Divs displayed inline

Hello
I have some DIVs added one after the other, positioned inline, when one of them changes its contents, it appears positioned below the other.
what property should I use so the DIVs always appear at the same level all?

MarPlo
Hi
Try set in CSS: max-height and max-width to those DIVs.
And, you can test these css properties to see which is better for what you want:
display: inline-block;
display: table-cell;
Or:
float: left;

Similar Topics