<!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" />
<title>无标题文档</title>
<style type="text/css">
.border{width:500px; position:relative; font-size:12px;}
.lt{ background:url(1.jpg) no-repeat; left:0; top:0; position:absolute; width:7px; height:7px;}
.rt{ background:url(2.jpg) no-repeat; right:0; top:0; position:absolute; width:7px; height:7px;}
.lb{ background:url(4.jpg) no-repeat; left:0; bottom:0;_bottom:-7px; position:absolute; width:7px; height:7px;}
.rb{ background:url(3.jpg) no-repeat; right:0; bottom:0;_bottom:-7px; position:absolute; width:7px; height:7px;}
.content{font-size:14px; border:1px solid #a8acad;}
</style>
</head>
<body>
<div class="border">
<div class="lt"></div>
<div class="rt"></div>
<div class="lb"></div>
<div class="rb"></div>
<div class="content">This is <div style="font-size:12px;">content.</div><br />
<br />
<br />
<br />
<br />
<br />
</div>
</div>
</body>
</html>
代码: