Сделайте p внутри строки равной высоты ⇐ CSS

Разбираемся в CSS
Гость
Сделайте p внутри строки равной высоты

Сообщение Гость »


I'm having this layout using Bootstrap 3:

Код: Выделить всё




Some text here!







Some text here!

Some text here!

Some text here!

Some text here!




and

Код: Выделить всё

.p {
min-height: 350px;
}
what I'm trying to do is, that both tags are having the same height, depending on which has more text in it but remains at 350px if it has less text than 350px. Is this somehow doable in CSS only?
I found this question click, and tried to use table-cell (second answer). But it didn't work. Any solution?
Note: I didn't put the

Код: Выделить всё

.container
there because there are many rows.
Note 2: I want the tags to be the same height, not the row!


Источник: https://stackoverflow.com/questions/282 ... ual-height

Вернуться в «CSS»