Re: Non Editable scrolling text box by Kevin
Kevin
Tue Apr 19 08:13:53 CDT 2005
Use a scrolling div:
<div style="width:200;height:200;overflow:scroll">Your Text Here</div>
A textarea element is a form element, and you want a "read-only" textarea.
Test the code above by pasting it into the HTML of a new document.
--
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
What You Seek Is What You Get.
"laura" <replyto@group.com> wrote in message
news:ugO31uNRFHA.2132@TK2MSFTNGP14.phx.gbl...
> Thanks, but with div surely if there was a lot of text in a small area
> they would not see it all or the text would take up too much of the page?
> I want it to be confined to a small part of the screen but visible with
> scroll bars if possible. Is it not possible to make the scrolling text box
> read only? The Internet Explorer, Help/About has just such a thing.
>
> Laura
>
>
> "Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> wrote in message
> news:uRMxxpNRFHA.1476@TK2MSFTNGP09.phx.gbl...
>> Use a div instead.
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> .Net Developer
>> What You Seek Is What You Get.
>>
>> "laura" <replyto@group.com> wrote in message
>> news:eQRUZUMRFHA.1416@TK2MSFTNGP10.phx.gbl...
>>> Is it possible to make the scrolling textbox non-editable?
>>>
>>> I'm doing an intranet and want the Home Page to have a box with daily
>>> notices - these would be entered by one person - Perhaps there is a
>>> better way to do this?
>>>
>>> Laura TD
>>>
>>
>>
>
>