在html的开头加上 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"> 转载于:https://www.cnblogs.com/vinyuan/p/3559066.html