473,511 Members | 14,825 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

textarea scrollbars

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

thanks

Max
Jul 20 '05 #1
4 25592
"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
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
"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
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2349
by: Merlin_1102 | last post by:
Hey im kinda a newbie to java so i dont know much any help would be appreciated. Thanx in advance to anyone who does help or takes the time to read this. Hey i have placed a text area in a panel...
2
4091
by: Mike Labman | last post by:
This is more of an HTML/CSS question, but I figure someone in here might know. I'm using in the stylesheet: BORDER-RIGHT: none; BORDER-TOP: none; BORDER-LEFT: none; BORDER-BOTTOM: none;...
4
10185
by: David | last post by:
It's sad to say, but when using the AOL web site, like to send an email, they have a nifty capability such that when a window is resized, the textarea where the message is input expands not only...
2
1580
by: Max | last post by:
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...
2
104755
by: musicmouse | last post by:
Happy new year to you all, I have a problem with the css settings for the horizontal scrollbar of a textarea. When I look at my textarea's in Internet Explorer (I use 5.5) I see only a...
2
1768
by: stefanomnn | last post by:
hello, i have a tetxtarea, with the style overflow:hidden, and a long text. because of the overflow, user does not see the whole text but a part. is there, in an IE browser, a mode to...
6
31414
by: Tony | last post by:
The w3schools HTML tag reference for <textarea> http://www.w3schools.com/tags/tag_textarea.asp says that the attributes 'cols' and 'rows' are REQUIRED attributes for the textarea tag. Looking at...
0
2854
by: korggrok | last post by:
I have a dialog window that pops up from the main app browser window. The window contains a form (name="savechanges") that includes an input (name="sql") that is a textarea input. The dialog...
1
2764
by: Nick | last post by:
Hi, I have created a html page from Java and I have added a .js file which can resize a TextArea inside the html on mousedown event. <script src="C:\temp\resize.js"</script> <table<tr><td...
0
7252
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7153
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7432
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7093
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7517
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5676
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5077
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4743
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
1
791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.