红宝石大虾如何在对齐的右图像周围环绕文字?
是否可以使用 float:right 属性将图像向右对齐并将文本环绕在图像周围,就像在 html 和 css 中一样?
如果是这样,你该怎么做?
我可以对齐图像,但不知道如何将文本环绕在图像周围。文本是动态文本,因此长度变化很大。
多谢 瑞克
s it posible to align an image to the right and wrap text around the image like it is in html and css using the float:right property ?
If so how do you do this ?
I can align an image but dont't know how to wrap the text around it. The text is dynamic text therefore varies alot in length.
Thanks alot
Rick
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一种建议是尝试嵌套边界框。主边界框内将包含文本。在某个时刻图像的另一个边界框。您
可能可以简单地使用没有边界框的图像,但边界框将确保文本在其周围流动。
One suggestion is to try nested bounding boxes. The main bounding box would have the text inside it. with at some point another bounding box for the image. Something along the lines of
You may be able to simply use the image without the bounding box, but the bounding box would ensure that the text flows around it.