How to add floating image without making CSS3 multicolumn div narrower?

。_饼干妹妹 提交于 2019-12-13 14:51:49

问题


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?


回答1:


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/



来源:https://stackoverflow.com/questions/9270724/how-to-add-floating-image-without-making-css3-multicolumn-div-narrower

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!