使侧边栏中的所有图像大小相同?
make all images in sidebar same sized?
我想在 wordpress 边栏中显示相同大小的项目 45*60.Im 能够将宽度调整为我的自定义大小但不能 height.As 结果边栏图像在 height.I 试过 CSS 高度和宽度 property.It 有效,但图像显示不正确。
我需要更多信息,但假设它们是无序列表中列表项内的图像,html 像这样
<ul class="this-is-my-ul-class>
<li><img></li>
<li><img></li>
<li><img></li>
</ul>
css 像这样:
.this-is-my-ul-class li immg {
width: [how much width you want]px;
height: [how much height you want]px;
}
我想在 wordpress 边栏中显示相同大小的项目 45*60.Im 能够将宽度调整为我的自定义大小但不能 height.As 结果边栏图像在 height.I 试过 CSS 高度和宽度 property.It 有效,但图像显示不正确。
我需要更多信息,但假设它们是无序列表中列表项内的图像,html 像这样
<ul class="this-is-my-ul-class>
<li><img></li>
<li><img></li>
<li><img></li>
</ul>
css 像这样:
.this-is-my-ul-class li immg {
width: [how much width you want]px;
height: [how much height you want]px;
}