IMG是内联元素,
设置边缘
属性为中心,将其
转换为
显示:块然后用保证金:0块元;汽车;图像水平;(有些设计师为
图片添加div标签,然后通过DIV标签边缘中心)。
如果图片在DIV中间跨度的属性,它必须被转换成显示:块;然后填充上:10px。
The above is the whole content of the problem that the small editor has brought to you to solve the problem that img is in the middle of Div. I hope to help you and support much more.