TextArea in Netscape

Results 1 to 3 of 3

Thread: TextArea in Netscape

  1. #1
    Join Date
    Dec 1969

    Default TextArea in Netscape

    I created a textarea with rows=3 and cols=20,on netscape if you enter text then it keeps on scrolling horizontally till you dont press enter key,though cols is set to 20.No problem on IE though.<BR>Pl suggest as how to get rid of it on Netscape

  2. #2
    Join Date
    Dec 1969

    Default can u...

    paste ur textarea code here...

  3. #3
    Join Date
    Dec 1969

    Default RE: TextArea in Netscape

    Get yourself a decent book on HTML.<BR>The "cols" attribute sets the visible WIDTH of the object, not how many characters it can contain on a line.<BR><BR>The reason IE behaves differently is that the default value for the "wrap" attribute is different on IE to Netscape.<BR><BR>You need to set "wrap=&#039;virtual&#039;" in your textarea and everything should suddenly work.<BR><BR>Craig.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts