Text area width

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • cv

    Text area width

    Hi all,

    Here is the part of my code

    <TEXTAREA NAME="Vib0" ROWS="4" COLS="15">
    </TEXTAREA>

    I need to specify the width of the textarea.
    so gave cols=15
    Width is ok but it puts 15 empty spaces inside the text area.
    How to avoid this?

    Thanks in advance,
    cv
  • VK

    #2
    Re: Text area width

    Whatever is between <textarea>... </textarea> tags is treated as textarea
    value.
    Use
    <TEXTAREA NAME="Vib0" ROWS="4" COLS="15"></TEXTAREA>
    (no spaces) to get an empty string value.


    cv <haivc@yahoo.co m> wrote in message
    news:ce68ef90.0 310130705.23e28 887@posting.goo gle.com...[color=blue]
    > Hi all,
    >
    > Here is the part of my code
    >
    > <TEXTAREA NAME="Vib0" ROWS="4" COLS="15">
    > </TEXTAREA>
    >
    > I need to specify the width of the textarea.
    > so gave cols=15
    > Width is ok but it puts 15 empty spaces inside the text area.
    > How to avoid this?
    >
    > Thanks in advance,
    > cv[/color]


    Comment

    • cv

      #3
      Re: Text area width

      Thanks a lot. that really helped!

      "VK" <schools_ring@y ahoo.com> wrote in message news:<3f8ac288$ 0$19450$9b622d9 e@news.freenet. de>...[color=blue]
      > Whatever is between <textarea>... </textarea> tags is treated as textarea
      > value.
      > Use
      > <TEXTAREA NAME="Vib0" ROWS="4" COLS="15"></TEXTAREA>
      > (no spaces) to get an empty string value.
      >[/color]

      Comment

      Working...