Сделайте 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
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

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