<!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=utf-8" />
<title>电子相片</title>
<style type="text/css">
.box {
background-image: url(SimplePhoto/framels.jpg);
height: 160px;
width: 160px;
}
img {
margin: 0px;
height: 90px;
width: 135px;
border: 1px solid #82c3ff;
}
a {
padding-top: 34px;
padding-right: 14px;
padding-bottom: 36px;
padding-left: 11px;
display:block;
}
ul {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
background: #dceeff;
margin: 0px;
padding: 2px;
width: 152px;
border: 2px solid #a7d5ff;
list-style: none;
}
li {
margin: 0px;
padding: 0px;
}
.title {
padding-top: 0.4em;
padding-bottom: 0.2em;
border: 1px solid #a7d5ff;
font-weight:bold;
color:#004586;
}
.datetime {
color: #0068c9;
margin: 2px;
padding: 5px;
border: 1px solid #a7d5ff;
}
.box:hover {
background-image: url(SimplePhoto/framels_hover.jpg);
}
</style>
</head>
<body>
<div class="box"> <a href=<img src="SimplePhoto/01.jpg" ><img src="SimplePhoto/01.jpg" /></a></div>
<ul>
<li class="title"> 丽江古城</li>
<li class="datetime">2010-1-26</li>
</ul>
</body>
</html>
网页设计代码
最新推荐文章于 2024-08-19 16:20:42 发布