EasyUI 在火狐浏览器困扰我的问题: 5
为什么,easyui在页面中展示的内容一部分都隐藏到顶部去了?代码:<%@pagelanguage="java"import="java.util.*"pageEncod...
为什么,easyui在页面中展示的内容一部分都隐藏到顶部去了?
代码:
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP '002.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--用导入图标,里面存的都是各种图片的引用-->
<link rel="stylesheet" type="text/css" href="JS/jquery-easyui-1.3.4/themes/icon.css">
<link rel="stylesheet" type="text/css" href="JS/jquery-easyui-1.3.4/themes/default/easyui.css">
<script type="text/javascript" src="JS/jquery-easyui-1.3.4/jquery.min.js"></script>
<script type="text/javascript" src="JS/jquery-easyui-1.3.4/jquery.easyui.min.js"></script>
<script type="text/javascript" src="JS/jquery-easyui-1.3.4/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript">
$(function(){
//dialog
$('#dialog').dialog({
title:'我是对话框',
iconCls:'icon-ok',
toolbar:[
{
text:'新增',
iconCls:'icon-add',
handler:function(){
alert('新增了');
}
},{
text:'修改',
iconCls:'icon-edit',
handler:function(){
alert('修改了');}
}
],
buttons:[
{
text:'确定',
iconCls:'icon-ok',
handler:function(){
alert('确定了');
}
},{
text:'取消',
iconCls:'icon-cancel',
handler:function(){
alert('取消了');
}
}
]
});
});
</script>
</head>
<body>
<div id="Mypanel"></div>
<div id="dialog" class="easyui-dialog" style="width:200px;height:300px"></div>
</body>
</html> 展开
代码:
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP '002.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--用导入图标,里面存的都是各种图片的引用-->
<link rel="stylesheet" type="text/css" href="JS/jquery-easyui-1.3.4/themes/icon.css">
<link rel="stylesheet" type="text/css" href="JS/jquery-easyui-1.3.4/themes/default/easyui.css">
<script type="text/javascript" src="JS/jquery-easyui-1.3.4/jquery.min.js"></script>
<script type="text/javascript" src="JS/jquery-easyui-1.3.4/jquery.easyui.min.js"></script>
<script type="text/javascript" src="JS/jquery-easyui-1.3.4/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript">
$(function(){
//dialog
$('#dialog').dialog({
title:'我是对话框',
iconCls:'icon-ok',
toolbar:[
{
text:'新增',
iconCls:'icon-add',
handler:function(){
alert('新增了');
}
},{
text:'修改',
iconCls:'icon-edit',
handler:function(){
alert('修改了');}
}
],
buttons:[
{
text:'确定',
iconCls:'icon-ok',
handler:function(){
alert('确定了');
}
},{
text:'取消',
iconCls:'icon-cancel',
handler:function(){
alert('取消了');
}
}
]
});
});
</script>
</head>
<body>
<div id="Mypanel"></div>
<div id="dialog" class="easyui-dialog" style="width:200px;height:300px"></div>
</body>
</html> 展开
2个回答
展开全部
html网页可以参考W3C标准 http://www.w3school.com.cn/w3c/w3c_html.asp
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |