Page 1 of 1

Keeping the alignment of Divs displayed inline

Posted: 14 Nov 2014, 08:05
by Marius
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?

Keeping the alignment of Divs displayed inline

Posted: 14 Nov 2014, 08:14
by 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;