Re: How to remove the scrollbar(s) from a TextArea box?

by "Bert Doorn" <bert(at)betterwebdesign.com.au>

 Date:  Sat, 8 Sep 2001 10:28:47 +0800
 To:  "George Tsang" <George_Tsang(at)btib.css.gov.on.ca>
 Cc:  "HWG Basics" <hwg-basics(at)hwg.org>
 References:  on
  todo: View Thread, Original
Hi George

> Is there a way to remove the scrollbars from a box generated by the
> <textarea> tag?

Yes, with style sheets (css).  Won't work in all browsers though.  Add this
style definition to the textarea element:

style="overflow:hidden;"

E.g.

<textarea rows="5" cols="40" style="overflow:hidden;">Default
Text</textarea>

Regards
--
Bert Doorn, Web Developer
http://www.betterwebdesign.com.au/
Beginners Web Design Tutorial
http://www.bwdzine.com/bwdt/

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA