39 users online (0 members and 39 guests)  


  Results 1 to 2 of 2

Related

  1. Firefox not show textbox links    Forum: HTML Forum
    Replies: 12
  2. Horizontal scroll bar fix    Forum: CSS Forum
    Replies: 0
  3. Horizontal scroll bar fix    Forum: HTML Forum
    Replies: 0
  4. Replies: 6
  1. #1
    newbie009's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2009
    Posts
    1

    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?

  2. #2
    jthayne's Avatar

    Status
    Offline
    Join Date
    Aug 2008
    Location
    Texas
    Posts
    508

    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.