小文字,大图像,不希望它旁边的下一个para

时间:2011-01-17 07:19:39

标签: html css

我想:

---------------    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                                    --------------




如何实现目标?

1 个答案:

答案 0 :(得分:2)

尝试为第二段提供CSS属性clear:both。 (假设你开始使用花车。)