Setting style of textarea to not look editable and prevent resizing.

Giganews Newsgroups
Subject: Setting style of textarea to not look editable and prevent resizing.
Posted by:  OccasionalFlyer (javajed…@yahoo.com)
Date: Tue, 16 Jul 2013

I mostly program in an integrated environment that has its own set of page =
controls, like long/multi-line edit boxes.  I want to display some static t=
ext.  While I cannot really add my own control, I can create a custom style=
..  Iknow this is not alt.css (I looked to see if such a group existed but f=
ound none0. but I would like to ask what I can do for style that will
a) not make a textarea look more like static tex--no border that makes it l=
ook like the text could be edited
b) no way to resize the text area
c) read-only text

How might I specify a style for just this one element on a page?  I'm somew=
hat familiar with CSS for seting fonts and colors but nothing like this.  T=
hanks.

Ken

Replies