[thelist] Re: scrolling part of a page

Rob Smith rob.smith at THERMON.com
Thu Mar 3 13:04:10 CST 2005


> Thanks, but I was just looking for manual scrolling, nothing automatic.

Try this on for size:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
 .scrolling {
   height:150px;
   width:150px;
   overflow:auto;
 }
</style>
</head>

<body>
<div class="scrolling">
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry's standard dummy text ever since the
1500s, when an unknown printer took a galley of type and scrambled it to
make a type specimen book. It has survived not only five centuries, but also
the leap into electronic typesetting, remaining essentially unchanged. It
was popularised in the 1960s with the release of Letraset sheets containing
Lorem Ipsum passages, and more recently with desktop publishing software
like Aldus PageMaker including versions of Lorem Ipsum. 
</div>
</body>
</html>

Rob


More information about the thelist mailing list