test2.jsp
1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="weaver.systeminfo.SystemEnv"%>
<%@ page import="weaver.hrm.*" %>
<%
User user = HrmUserVarify.getUser (request , response);
%>
<html>
	<head>
		<title>div布局</title>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
		<style type="text/css">
/*各模块具体*/
#divBody {
	width: 100%;
	height: 100%;
	position: relative;
}
#header {
	height: 52px;
	background-color: #77a7cc;
	width: 100%;
	height: 52px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99;
}
#main {
	overflow: auto;
	width: 100%;
	height: 100%;
	padding-top: 82px;
	padding-bottom: 100px;
	background-color: #FFFFCC;
	z-index: 96;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
#main .content {
	overflow: auto;
	width: 100%;
	height: 100%;
	background-color: #F7E8FF;
	z-index: 96;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
#main div {
	background-color: #669999
}
#footer {
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	height: 100px;
	z-index: 93;
	background-color: #CCFFFF;
}
</style>
	</head>
	<body>
		<div id="divBody">
			<div id="header">
			</div>
			<div id="main">
				<div class="content">
				</div>
			</div>
			<div id="footer">
				<%=SystemEnv.getHtmlLabelName(129409, user.getLanguage())%>
			</div>
		</div>
	</body>
</html>