Try using a DIV with a stylesheet behind it like the following:

<style>

.liketextarea{

            overflow: scroll;

            border: 1px solid #151515;

            height: 200;

            width: 350;

}

</style>

<div class="liketextarea"></div>

This should give you a textarea-like object that you can't type into.

Jeff Garza

  _____  

From: MILAN MUSHRAN [mailto:[EMAIL PROTECTED]
Sent: Friday, April 23, 2004 5:45 AM
To: CF-Talk
Subject: Uneditable textarea box

Hi guys,

I need a kind of uneditable textarea box. It may not be a textarea box, but
even if it looks like one, that's fine. Also, if the text is greater then
the size of the box, scroll bars should appear.

This is to let the user view the page info using that box alone.

Thanks a lot,
Milan

  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to