Keeping the alignment of Divs displayed inline

Place to talk about website HTM elements, CSS style and design, and get help with HTML, CSS codes.
Marius
Posts: 107

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 Posts: 186
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