How to wrap text around floating, fixed image?

后端 未结 3 1190
无人共我
无人共我 2021-01-22 16:52

I\'ve got an image that floats in the bottom right corner (to put in the button, the position has to be fixed). However, part of the text on my page disappears behind the image.

3条回答
  •  半阙折子戏
    2021-01-22 17:39

    when you use a position fixed or absolute (float here is irrelevant for your style, you could remove it) you're removing an element from its natural flow. Thus, given this position, the text is not able to detect the image and to re-arrange itself around it.

提交回复
热议问题