Wrapping of text is not happining in mozilla?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bhappy
    New Member
    • Jul 2007
    • 139

    Wrapping of text is not happining in mozilla?

    Hai All,

    i have one multiline textbox with property wrap=true, but in mozilla it is not happining. the text is going continuesly.any idea........... ..?

    thanks,
    Aswath.
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    When you view the HTML source for your page in mozilla, does that Texbox object claim to be an
    <input type="text"

    OR
    <textarea>
    ??

    Only TextAreas can have multi lines.

    Comment

    • bhappy
      New Member
      • Jul 2007
      • 139

      #3
      Hai
      Thanks for replay,
      i checked in source page it is taking as textarea only.if any space between words then it is coming into next line other wise it is going continuesly.

      thanks,
      aswath.

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        Originally posted by bhappy
        Hai
        Thanks for replay,
        i checked in source page it is taking as textarea only.if any space between words then it is coming into next line other wise it is going continuesly.

        thanks,
        aswath.
        Text wrapping (generally) only occurs at breaking spaces (the space character being one of them). If you are ending the line with a very long word, sometimes it will move the whole word down to the next line.
        I had thought that if you managed to have a single word that is longer then an entire line, that it would break the word at the hard character end of the line.
        Not sure why Mozilla would not do this.

        Comment

        Working...