gpt4 book ai didi

html - 在 css 的列中对齐图像的问题

转载 作者:太空宇宙 更新时间:2023-11-04 12:05:55 25 4
gpt4 key购买 nike

这是我的 jsfiddle 链接:http://jsfiddle.net/3om4yjpa/

底部的三列图像未正确对齐。

我需要这样的东西 http://s11.postimg.org/pzq7m2glv/Untitled_1_copy.png

html:

  <td class="mcnCaptionBottomImageContent" style="padding:0 9px 9px 9px;" align="left" valign="top">            
<img alt="" src="https://gallery.mailchimp.com/74b6bdda18d16b31a24e81ec6/images/e6686072-3933-4150-b034-eef1599bc277.jpg" style="max-width:186px;" class="mcnImage" width="164">
</td>

而且我只需要编辑内联 css,谁能帮我解决这个问题?

提前致谢。

最佳答案

如果表格是固定的,你可以给表格指定高度,因为 min-height 不能用于表格。

.mcnCaptionBlock 
{
height: 350px;
}

并删除 span 的 margin-left:10px

span{
margin-left: 0 !important;
}

检查更新Fiddle.

关于html - 在 css 的列中对齐图像的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29386285/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com