Hi there kvbhaskar7,
the following example will also work in modern browsers - ( IE9, Firefox 5+, Chrome 12+, Safari 4+ and Opera 11+ )...
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="language" content="english">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<style type="text/css">
#box1 {
border-top:1px dashed #900;
border-bottom:1px dashed #900;
height:300px;
background-image:url(border.jpg),url(border.jpg);
background-repeat:no-repeat;
background-position: right top,left top;
}
#text1 {
height:260px;
margin:20px;
overflow:auto;
}
</style>
</head>
<body>
<div id="box1">
<div id="text1">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent nec mauris est,
a hendrerit enim. Nunc consequat, orci vitae tristique consectetur, nibh eros
adipiscing nunc, et pellentesque diam odio eget ligula. Proin et est purus, a
ornare ante. Sed ullamcorper porta mauris, ac consectetur erat egestas nec. Fusce
id aliquam mauris. Integer ac dolor purus. Fusce sollicitudin luctus nibh. Cras
augue odio, lacinia vitae suscipit nec, semper ut magna. Pellentesque ullamcorper
tincidunt scelerisque. Integer at nunc eget elit sollicitudin volutpat. Maecenas
luctus elementum odio, a laoreet libero ullamcorper vitae. Aliquam erat volutpat.
Vestibulum eu lectus ligula. In lacinia vehicula condimentum. Fusce eget
scelerisque diam.
</div>
</div>
</body>
</html>
Test it with the use of the attached image. 
coothead
Bookmarks