小编Ale*_*ana的帖子

CSS "text-overflow: ellipsis" and vertically center an element

TL:DR; at bottom.

I have been looking for an answer to this for about 6 hours, trying different solutions, making nested elements deeper than should ever be made just trying to figure this one out.

I have a div that is responsive, changes width and height respectively. In it, I have 4 divs that I want to display evenly. In doing that I made each one height:25%; display:table;, and inside it a <p> element with display:table-cell; vertical-align:middle;. It …

html css ellipsis vertical-alignment css-tables

4
推荐指数
1
解决办法
5400
查看次数

标签 统计

css ×1

css-tables ×1

ellipsis ×1

html ×1

vertical-alignment ×1