让ie8按照ie7 的方式来进行解析 在head标签里加上一行:<meta http-equiv="X-UA-Compatible" content="IE=7" /> 即可让ie8按照ie7 的方式来进行解析