S
S
Snewer2015-10-14 12:19:50
css
Snewer, 2015-10-14 12:19:50

Why are inline blocks displayed unevenly?

Hello!
There are two disblay:inline-block blocks, with a width of 50%
7b8c561152034c8c841569767871f23a.png
When each of the blocks has the same number of lines of text, everything is fine. But if there is a difference, then the blocks are placed at different levels, as in the picture. What is it connected with? Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dm, 2015-10-14
@Snewer

.block1, .block2 {
  vertical-align: top;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question