scroll bar

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

Guest

How do I set up a window with a scroll, so that people can read text (but not
write text in the window)?
 
Hi,
Like this

<style type="text/css">
#scrollDiv{
width:400px;
height:400px;
overflow:auto;
}
</style>
and then
<div id="scrollDiv">
..........stuff...........
</div>

Change width/height to suit, you can stick the div anywhere you like - in a
table cell, on the page etc.
 
1) use a pop-up browser window (www.jimcoaddins.com has an excellent addin
for popup windows called "Spawn"), or 2) use an inline frame?.

3) (not the best solution) You could also use <text area disabled=true>your
text here.aldfsalfja;lfj</textarea> but I think this 'greys out' the box and
the text within it, but it does not make it editable.

Try the first two options above first.
 
Back
Top