css处理溢出代码

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<style type="text/css">
div { width:250px;
height:250px;
border:1px solid black;
position:absolute;
overflow:scroll;
}

</style>
</head>

<body>
<div><img src="../../All Users/Documents/My Pictures/示例图片/Blue hills.jpg" ></div>
</body>
</html>

posted @ 2010-12-18 19:27  刘竹青  阅读(120)  评论(0编辑  收藏  举报