首页 > 代码库 > EasyUI样式在IE下无法显示原因总结

EasyUI样式在IE下无法显示原因总结

1.js css顺序错误

<script type="text/javascript" charset="utf-8" src="js/jquery-easyui-1.3.6/jquery.min.js"></script>
<script type="text/javascript" charset="utf-8" src="js/jquery-easyui-1.3.6/jquery.easyui.min.js"></script>
<script type="text/javascript" charset="utf-8" src="js/jquery-easyui-1.3.6/locale/easyui-lang-zh_CN.js"></script>
<link type="text/css" rel="stylesheet" href="js/jquery-easyui-1.3.6/themes/default/easyui.css"/>
<link type="text/css" rel="stylesheet" href="js/jquery-easyui-1.3.6/themes/icon.css"/>

2.jsp页面缺少DOCTYPE

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">