how do I get a new line, after using float:left?

后端 未结 5 939
梦谈多话
梦谈多话 2021-01-31 07:18

What I am trying to do is have rows of images, 6 images in each row. Some of these images need to have another image floating on top of them (flush with the lower-right corner)

5条回答
  •  北海茫月
    2021-01-31 07:43

    Try the clear property.

    Remember that float removes an element from the document layout - so yes, in a way it is "interfering" with br and p tags, in the sense that it would basically be ignoring anything in the main flow layout.

提交回复
热议问题