[英]How to wrap specific text around an image?
The word "jffhuhjherwkhrewkhurewyurewyretyunuyrkwugrnhky" is too long to fit next to the image, so it moves down. 单词“ jffhuhjherwkhrewkhurewyurewyretyunuyrkwugrnhky”太长,无法容纳在图像旁边,因此它向下移动。 If you want to force the word to break, try adding
word-break: break-all
to the CSS for the container element. 如果要强制单词中断,请尝试在容器元素的CSS上添加
word-break: break-all
。
<style type="text/css">
a.imagelink {
float: left;
margin-right: 10px;
margin-bottom: 10px;
}
</style>
<span>Zion Church</span>
<div><a href="#" class="imagelink"><img src="member.jpg" width="" height="" class="floatleft"></a> jffhuhjherwkhrewkhurewyurewyretyunuyrkwugrnhky </div>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.