当样式在IE8不兼容时使其在ie8浏览器中相当于走ie7模式的方法 只需要在head标签中加上这句话即可:<meta http-equiv="X-UA-Compatible" content="IE=7, IE=9">