How to calculate the height and align the content?

Hello, is there any plugin to create a header and content in one unit with a fixed height?

What are we talking about
July 4th 19 at 22:49
2 answers
July 4th 19 at 22:51
well one of the easiest methods is to give for example for the header a fixed height and overflow: hidden; then you will fit in there let's say 2 lines of text. the rest will not be visible.
: I think you On to count the number of characters and add an ellipsis. - Abbey commented on July 4th 19 at 23:00
Better not to title (it is better to be completely), and for text. And the dot how to automatically put? - Abbey commented on July 4th 19 at 22:54
: css only works through white-space: nowrap; text-overflow: ellipsis; and this only works for one row) and only from the backend. - Rosendo_Hess commented on July 4th 19 at 22:57
July 4th 19 at 22:53
Use Flex boxes!


setEqualHeight function(columns){
 var tallestcolumn = 0;
 currentHeight = $(this).height();
 if(currentHeight > tallestcolumn){
 tallestcolumn = currentHeight;

 setEqualHeight($(".wrapper . div")); /*make columns equal height*/

Find more questions by tags JavaScriptjQuery