-
Notifications
You must be signed in to change notification settings - Fork 0
/
500.html
33 lines (31 loc) · 1.07 KB
/
500.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>500页面</title>
<link href="css/common.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="s/jquery-1.6.4.min.js"></script>
<link rel="stylesheet" href="common.css" style="text/css">
<style type="text/css">
body{background:#F0D5E4;}
.error{ width:768px; height:404px; background:url(http://cinderellastory415.github.io/images/icon3.jpg) no-repeat; position:absolute; top:200px; left:350px;}
.error .text{border:0px #000 solid; height:40px; margin-top:300px; font-size:16px; font-family:"微软雅黑";font-weight:bolder;position:absolute;left:350px;}
</style>
<script type="text/ecmascript">
$(function(){
var width=$(window).width();
if(width>768){
var divLeft=(width-768)/2;
divLeft=parseInt(divLeft);
$("div[class='error']").css("left",divLeft);
}
});
</script>
</head>
<body>
<div class="errorUp"></div>
<div class="error">
<div class="text"><a href="/"><img src="http://cinderellastory415.github.io/images/btn.jpg" alt=""></a></div>
</div>
</body>
</html>