1. 首先确认自己已添加宽度,在<html> 标签外部添加文档属性 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2. 添加 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/> 3.OK了