这里是我的页面http://www.theplasticsdepot.co.uk/product-category/drains/underground-pipes-and-fittings/我遇到了问题。为了清楚起见,我在每个项目周围添加了边框。垂直居中对齐列表中的图像和文本
的<ul>
有et-products
一类的名字,我想至少是这样,它只是看起来“正确的”垂直居中每个列表项。
否则,理想,如果可能的话,我想他们至少是因为如果我不使用下面的CSS,出现奇怪的漂浮的各种正确对齐由于各种图像尺寸
ul.et-products li {
border:1px solid #ccc;
height:385px;
padding:5px; margin:10px;
}
display:block;被尝试? –
对不起,不知道你的意思 – pee2pee
你的链接不起作用。该域名是私人的。 – SombreErmine