How to display an image next to some texts

后端 未结 2 897
萌比男神i
萌比男神i 2020-12-12 07:19

I am trying to achieve the following:

\"enter

The DIVS are divided in three se

2条回答
  •  北荒
    北荒 (楼主)
    2020-12-12 07:48

    To get an image to stack on top of each other you have to specify it by removing the floats.

    Using "clear:both;" will remove the floats will stack them, and then you can adjust the size using margins, padding, width, and height to get a perfect box.

提交回复
热议问题