HighDots Forums  

textarea scrollbars

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss textarea scrollbars in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Max
 
Posts: n/a

Default textarea scrollbars - 02-26-2004 , 02:31 PM






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

thanks

Max



Reply With Quote
  #2  
Old   
Steve Pugh
 
Posts: n/a

Default Re: textarea scrollbars - 02-26-2004 , 03:10 PM






"Max" <max (AT) gallonline (DOT) com> wrote:

Quote:
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 <steve (AT) pugh (DOT) net> <http://steve.pugh.net/>


Reply With Quote
  #3  
Old   
Andrew Thompson
 
Posts: n/a

Default Re: textarea scrollbars - 02-26-2004 , 03:15 PM



On Thu, 26 Feb 2004 19:31:46 -0000, Max wrote:

Quote:
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


Reply With Quote
  #4  
Old   
AT
 
Posts: n/a

Default Re: textarea scrollbars - 02-26-2004 , 07:52 PM



"Max" <max (AT) gallonline (DOT) com> wrote:

Quote:
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?


Reply With Quote
  #5  
Old   
Andrew Urquhart
 
Posts: n/a

Default Re: textarea scrollbars - 02-26-2004 , 08:07 PM



"Karl Smith" <google-2003-03 (AT) kjsmith (DOT) com> wrote

Quote:
"Max" <max (AT) gallonline (DOT) 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:
Quote:
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 )
--
Andrew Urquhart
Reply: http://www.andrewu.co.uk/about/conta...ct=Re%3A+ciwas




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.