如何通过修改代码让此空间顶部的图片居中显示
来源:百度知道 编辑:UC知道 时间:2024/06/28 12:59:46
是<img /> 还是 CSS Background-image?如果是CSS的话请用:
background-image:url(http://);
background-position:center top;
background-repeat:no-repeat;
<img /> 请用:<img href="http://" style="margin:auto;display:block" />