让ie8按照ie7 的方式来进行解析

在head标签里加上一行:
<meta http-equiv="X-UA-Compatible" content="IE=7" />

即可让ie8按照ie7 的方式来进行解析

原文地址:https://www.cnblogs.com/ahjesus/p/1998637.html