How to remove the scroll in textarea?

Hi friends,

Here following code will add to styles of text area, that removes the scrolling of that one.

Because in firefox browser we can not visible the scoll but in IE we will get the scrolling , so i am facing most of the sites, for the sake of another person like me dont want to waste time on searching on this.


overflow-x:hidden; overflow-y:hidden;


Add that lines for text area.


<textarea cols=”20″ rows =”20″ style =” overflow-x:hidden; overflow-y:hidden;”></textarea>


Hope this will be useful

Anil Kumar Panigrahi

With more than 10 years experience in PHP and Founder of Anil Labs, a blog for PHP and related posts. contributed posts regarding CodeIgniter, CakePHP and Learn PHP online ... Contact : [email protected]

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.