Solved

Allowing scrolling but no alteration of text.

Posted on 2003-11-27
11
257 Views
Last Modified: 2010-04-09
I have a situation where, depending on who is viewing the page, a multi-line textarea object may be disabled. This also disables the scroll bar, but I would like the scroll bar to still be usable where the textarea contents exceed the size of the textarea object.
0
Comment
Question by:WhiteEagle
  • 5
  • 4
11 Comments
 
LVL 31

Accepted Solution

by:
seanpowell earned 50 total points
ID: 9832183
Just set the text to read-only:

<form>
<textarea rows="3" name="S1" cols="20" readonly="true">This textarea has a lot of text to make it scroll. This textarea has a lot of text to make it scroll.</textarea>
</form>
0
 

Author Comment

by:WhiteEagle
ID: 9832217
Thnak you
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9832225
Why a grade of C?
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

Author Comment

by:WhiteEagle
ID: 9832233
What should it be?
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9832241
If the comment answered your question it should be an A...
0
 

Author Comment

by:WhiteEagle
ID: 9832249
I thought it was based on the complexity of the solution, I'm sorry.
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9832270
That's okay - I'll post a request in CS to modify...

Thanks,
seanpowell
0
 

Author Comment

by:WhiteEagle
ID: 9835993
Thats OK. I misunderstood the grading system. It should have been graded as an A
0
 

Expert Comment

by:RomMod
ID: 9838394
Hello, WhiteEagle

I have adjusted the grade accordingly.

RomMod
Community Support Moderator
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9838417
Thanks all... sorry for the extra work.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question