"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