Text box with scroll bars

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to create a text box with a scroll bar inside a cell in a table,
without using an Inline Frame. Is there a way to do this? I use FP2003.
 
CSS.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
Using layers

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
I take it that CSS stands for Cascading Style Sheets. I have to read about
CSS and Layers, both are new for me. You have certainly given me a direction
worth pursuing. Thanks a lot!
 
Use CSS
Put this in the HEAD section:

<!-- Scrolling cell script -->
<style type="text/css">
#scrollDiv{
height:200px;
overflow:auto;
}
</style>

Adjust height as desired.

Then add:

<div id="scrollDiv">

after the td definition.
i.e.
<td width="95%"><div id="scrollDiv"><a name="scroll-head"></a>

I added navigation with <a name="scroll-head"></a> after the div. Then
from anywhere in the table you can goto top of table with a link to
"scroll-head". If you use more than one table just change the name.

WARNING:
Overuse of this technique can cause page bloat resulting in long d/l time!

Larry
 
Back
Top