可以在img中添加样式:display:block或者vertical-align:bottom(推荐) 原因:因为img默认是按基线(baseline)对齐的 转载于:https://www.cnblogs.com/xuyuanlu/p/8616562.html