我要:
--------------- Just a little bit | image is | of text. | taller than | | text | --------------- Then comes -------------- next para | a pretty | with its | picture | image --------------
但是我得到了
--------------- Just a little bit | image is | of text. | taller than | Then comes -------------- | text | next para | a pretty | --------------- with its | picture | image --------------
如何实现?
最佳答案
尝试给第二段一个CSS属性clear:both
。 (假设您一开始就使用 float 。)
关于html - 小文字,大图片,不要旁边的段落,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4710859/