TextArea, ReadOnly, and selecting text

  • Thread starter Thread starter Nathan Sokalski
  • Start date Start date
N

Nathan Sokalski

I have a textarea with the attribute readonly="readonly". Internet Explorer
7 will not let users place the cursor in the textarea. When a line is longer
than the width of the textarea, the user has no way to look at all of the
text. Is this a bug, or do I just have to get rid of the readonly? If I
remember correctly, this was not a problem in IE6. Any help would be
appreciated. Thanks.
 
Nathan Sokalski said:
I have a textarea with the attribute readonly="readonly". Internet Explorer
7 will not let users place the cursor in the textarea. When a line is longer
than the width of the textarea, the user has no way to look at all of the
text. Is this a bug, or do I just have to get rid of the readonly? If I
remember correctly, this was not a problem in IE6.
Any help would be appreciated. Thanks.


Have you tried scrolling it with AutoScroll? (E.g. click with MiddleClick.)
Often windows and frames which are otherwise unscrollable--
e.g. no visible scrollbars--can in fact be scrolled using AutoScroll.

Otherwise, in IE6 and IE7 you could use the IE Developer Toolbar
to Disable All CSS. In IE8 it would be even easier to use its
View, Style, No Style (Alt-V,y,N) command.

However, why not give the area a horizontal scrollbar?
You can see examples of this technique on various MS KB
articles which have to include tabular data.

Do you have a publicly accessible example of this phenomenon? ; )


HTH

Robert Aldwinckle
---
 
Back
Top