How can I disable horizontal scroll in textbox for FireFox?
How can I disable horizontal scroll in textbox for FireFox?
Right now 1 textbox has vertical scroll and other textbox has horizontal scroll.
It only looks like this on FireFox but it looks ugly.
http://jumbofiles.com/example.gif
I used this code but it only worked for IE not FireFox:
style="overflow: scroll; overflow-y: scroll; overflow-x: hidden; overflow:-moz-scrollbars-vertical;"
Basically I want only vertical scroll.
Is there a code that works for both browsers?
Re: How can I disable horizontal scroll in textbox for FireFox?
The problem is that Firefox does not automatically wrap long words. You will have to find a way to force wordwrap. I believe it can be done using JavaScript, but I am not sure on the code. I do know how it can be done with PHP though.