以下是 蓝天白云404错误页面信息特效代码 的示例演示效果:
部分效果截图:
HTML代码(index.html):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="keywords" content="JS代码,其他代码,JS广告代码,JS特效代码" />
<meta name="description" content="此代码内容为蓝天白云404错误页面信息,属于站长常用代码" />
<title>蓝天白云404错误页面信息</title>
<meta http-equiv="refresh" content="60;url=#">
<!-- content="60,即60秒后返回主页,可根据需要修改或者删除这段代码 -->
<link href="css/error.css" rel="stylesheet" type="text/css" />
</head>
<body>
<!-- 代码 开始 -->
<div id="container"><img class="png" src="images/404.png" /> <img class="png msg" src="images/404_msg.png" />
<p><a href="#" target="_blank"><img class="png" src="images/404_to_index.png" /></a> </p>
</div>
<div id="cloud" class="png"></div>
<!-- 代码 结束 -->
</body>
</html>
CSS代码(error.css):
/* 懒人图库 搜集整理 www.lanrentuku.com */
body,div{margin:0;padding:0;}
body{background:url("../images/error_bg.jpg") repeat-x scroll 0 0 #67ACE4;}
#container{margin:0 auto;padding-top:50px;text-align:center;width:560px;}
#container img{border:medium none;margin-bottom:50px;}
#container .error{height:200px;position:relative;}
#container .error img{bottom:-50px;position:absolute;right:-50px;}
#container .msg{margin-bottom:65px;}
#cloud{background:url("../images/error_cloud.png") repeat-x scroll 0 0 transparent;bottom:0;height:170px;position:absolute;width:100%;}