How to display an image next to some texts

后端 未结 2 893
萌比男神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.

    0 讨论(0)
  • 2020-12-12 07:57

    Maybe it is just a typo you entered here on the site...your divs that contain the image are set to displat: inline-block instead of display

    0 讨论(0)
提交回复
热议问题