G
G
Grigory Vasilkov2016-09-28 15:54:28
HTML
Grigory Vasilkov, 2016-09-28 15:54:28

FIREFOX: Why doesn't min-height: px work with display: table?

FIREFOX: Why doesn't min-height: px work with display: table?
What are the workarounds, given that I only use tables to vertically align multiline text when its size is not known in advance?
And not even tables, but DIV with display: table. Nevertheless - it is in Firefox that it does not work for either divs or tables.
If I set iron height: 45px; and three paragraphs of text will come - the text will stick out.
What are the solutions?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Ineshin, 2016-09-28
@gzhegow

The display: tableold rules apply, the table height is always treated as min-height, here is an example: https://jsfiddle.net/8j5wmoys/1/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question