Why are my divs overlapping?

前端 未结 3 1981
遥遥无期
遥遥无期 2021-01-01 18:14

I\'m trying to create a parent div inside a list element that contains two children div for the left and right. The left will contain an image and the right will contain tw

3条回答
  •  清酒与你
    2021-01-01 18:26

    I wonder if this is what you are looking for: jsfiddle

    I added in img{display:block;} as images come with some hidden padding that shoves elemets down.

提交回复
热议问题