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
-
- Posts: 107
Keeping the alignment of Divs displayed inline
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;
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
-
Link inline with the text
HTML - CSS
First post
Hi members I'm looking for the script for a link <href> to another URL.Last post
I give part of my text and the link as it is now on my page:
and...
Hello,
In your case, put both the text and the link inside the <p> tag.
<p>and there where useful, supplemented with comments, tips...