style样式里面加上 <style> *{ margin:0 ;//外边距为0 padding:0;//内边距为0 } </style> 转载于:https://www.cnblogs.com/xy88/p/11229148.html