By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,625 Members | 2,250 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,625 IT Pros & Developers. It's quick & easy.

textarea scrollbars

P: n/a
Max
How can I disable scrollbars in a textarea. They seem to be enabled by
default.

thanks

Max
Jul 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
"Max" <ma*@gallonline.com> wrote:
How can I disable scrollbars in a textarea. They seem to be enabled by
default.


overflow: hidden;

But what happens when the user enters more text than will fit in the
box? Although possible (at least in some browsers) it is now more
difficult for them to move around within their entry to review or edit
it.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 20 '05 #2

P: n/a
On Thu, 26 Feb 2004 19:31:46 -0000, Max wrote:
How can I disable scrollbars in a textarea. They seem to be enabled by
default.


Stand beside the user with a gun and say
"Stop typing, or I shoot"?

--
Andrew Thompson
* http://www.PhySci.org/ Open-source software suite
* http://www.PhySci.org/codes/ Web & IT Help
* http://www.1point1C.org/ Science & Technology
Jul 20 '05 #3

P: n/a
"Max" <ma*@gallonline.com> wrote:
How can I disable scrollbars in a textarea. They seem to be enabled by
default.


With the 'overflow' property, set to 'hidden' or 'auto'?

Value: visible | hidden | scroll | auto | inherit
Applies to: block-level and replaced elements
Inherited: no

Why would you want to do such a thing?
Jul 20 '05 #4

P: n/a
"Karl Smith" <go************@kjsmith.com> wrote in message
news:3d************************@posting.google.com ...
"Max" <ma*@gallonline.com> wrote:
How can I disable scrollbars in a textarea. They seem to be enabled by default.
With the 'overflow' property, set to 'hidden' or 'auto'?

Value: visible | hidden | scroll | auto | inherit
Applies to: block-level and replaced elements
Inherited: no

Why would you want to do such a thing?


He explained in comp.lang.javascript:
http://groups.google.co.uk/groups?se...%40newsfe1-win

Max <Byp%b.563$jg7.477@newsfe1-win> wrote: I have used a textarea to display typewriter effect text. The
scrollbars are displayed by default.
What is the code to disable the scrollbars in a textarea
form field? < scrolling="no"> does not seem to work.


If he really *has* to implement such a thing he'd be better off
implementing it as follows:

Markup:
<p id="typewriter">This is the text content to type out</p>

Then using a self-contained external script with an onload event
defined, pick up the paragraph element via the id, remove the text, then
'type' it out back into the element using CSS to style. This way it
remains accessible and semantic and only annoys those that have
javascript enabled :o)
--
Andrew Urquhart
Reply: http://www.andrewu.co.uk/about/conta...ct=Re%3A+ciwas
Jul 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.