我有一个三列的div,想垂直居中第三个div (data_cell3)。我该怎么做呢?
我希望它垂直居中对齐,无论文本区域有多大。
这里有一个链接:
<div class="wrapper-data">
<div class="data_row">
<div class="data_cell1">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum
我搜索了很多关于块级锚点的替代方案。HTML5允许在块元素周围使用<a>标记,但像CKEditor (例如,在GetSimple中使用)这样的软件不支持:
<a href="myLinkTarget">
<div>
<h2>Great feature</h2>
<p>One new and exciting thing you can
do in HTML 5 is wrap links round “block-level” elements.</p>
<