This week's book giveaway is in the JavaScript forum.
We're giving away four copies of JavaScript Promises Essentials and have Rami Sarieddine on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "javascript" Watch "javascript" New topic
Author

javascript

kamalkumar telikicherla
Greenhorn

Joined: Jun 02, 2006
Posts: 2
i want to disable the horizontal scrollbar on my textarea.
the code must work on every browser like IE, netscape,mozilla......
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
It has nothing to do with JavaScript at all.

Only choice you have is css with scroll:auto making sure to set the word-break and the width of the area.

The scroll-x and scroll-y are IE only at the moment.

Eric
kamalkumar telikicherla
Greenhorn

Joined: Jun 02, 2006
Posts: 2
i am not getting what i want.
i want to disable the horizontal bar.
but overflow-x:hidden is working in IE .
but i want the code to work in mozilla.
hat i have to do.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
As I said before: Mozilla and such do not support the scroll-x, looks like you are out of luck.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javascript