如何根据文本长度使图像高度增长?

时间:2022-03-05 07:39:11

The image of an owl is right next to a block of text. I want the owl to have the height of the text so there's no awkward space underneath it. How should I approach this problem?

猫头鹰的形象就在一块文字旁边。我希望猫头鹰有文字的高度,所以它下面没有尴尬的空间。我该如何处理这个问题?

http://lectorbookclub.com/

2 个解决方案

#1


0  

You can do this with: height:100%.

你可以这样做:身高:100%。

#2


0  

Ahhh had to get out of using the WordPress img src default. AFter, I had more freedom to change the image size.

啊,我不得不放弃使用WordPress img src默认值。之后,我有更大的*来改变图像大小。

#1


0  

You can do this with: height:100%.

你可以这样做:身高:100%。

#2


0  

Ahhh had to get out of using the WordPress img src default. AFter, I had more freedom to change the image size.

啊,我不得不放弃使用WordPress img src默认值。之后,我有更大的*来改变图像大小。