Non Editable scrolling text box

L

laura

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
 
K

Kevin Spencer

Use a div instead.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
 
L

laura

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
 
K

Kevin Spencer

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top