Re: scrolling layer

by "Marc David Johnson" <mjohnson(at)marcdavidjohnson.com>

 Date:  Thu, 19 Jul 2001 13:11:24 -0400
 To:  <hwg-techniques(at)hwg.org>,
"Nate Harel" <nharel(at)consultant.com>
 References:  rcn
  todo: View Thread, Original
----- Original Message -----
From: "Nate Harel" <nharel(at)consultant.com>
> I need to put in a layer (or whatever can support it) that can scroll when
> there is a large amount of text in it.
>
> In other words, I want to have a page with the usual images and buttons,
> and off to the right, I want to have an area where there is a certain
> content that is longer than the page height and would be contained in
> something that can scroll on its own, without scrolling the whole page.

Using CSS : Just change the following height/width attributes to suit your
needs. Hope that helps.

<table height="200" width="300" border="1">
  <tr>
    <td height="40" colspan="2">Header Area (Remove if desired)</td>
  </tr>
  <tr>
    <td width="100">Navigation (Remove if desired)</td>
    <td width="200">
      <div style="overflow:auto;width:200px;height:160px;">
           Fill this area with data and it will overflow (it will create a
scrollbar automatically for the data) ................
      </div></td>
  </tr>
</table>

Marc David Johnson
mjohnson(at)marcdavidjohnson.com
http://www.MarcDavidJohnson.com
A little bit of everything ... and a whole lot of nothing.
http://mdj.inc <--- New.net address (info - v)
(http://www.qksrv.net/click-714870-1933347)

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA