如何添加浮动图像而不使CSS3多列div更窄? [英] How to add floating image without making CSS3 multicolumn div narrower?

查看:104
本文介绍了如何添加浮动图像而不使CSS3多列div更窄?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如图所示:


As one can see here: http://jsfiddle.net/ZP3vu/ text becames bit narrower because of floating image, then backs to 100% width beneath the image. However with CSS3 multi-column it becomes ugly: http://jsfiddle.net/QLFav/

What can I do to prevent image from making multicolumn content so narrow? To have that blank space below image filled with text?

解决方案

I don't know it is exactly what you mean, but try to put the image in the middle of text without floating.

http://jsfiddle.net/QLFav/3/

这篇关于如何添加浮动图像而不使CSS3多列div更窄?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆