473,413 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

Text area width

cv
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
Jul 20 '05 #1
2 5344
VK
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 <ha***@yahoo.com> wrote in message
news:ce**************************@posting.google.c om...
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

Jul 20 '05 #2
cv
Thanks a lot. that really helped!

"VK" <sc**********@yahoo.com> wrote in message news:<3f***********************@news.freenet.de>.. .
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.

Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Colin Thomas | last post by:
Hey, I am having an issue where I need to display preformatted text (already has the <pre> tag) within a area that I designate with stylesheets. How can I get the area specified in a css class...
1
by: IkBenHet | last post by:
Hello, I found this script to create a simple rich text form (http://programmabilities.com/xml/index.php?id=17): <html> <head> <title>Rich Text Editor</title> </head> <body>
16
by: Neal | last post by:
Hi, I saw the VB6 Code to do this at this link: http://www.dotnet247.com/247reference/msgs/11/56581.aspx The VB6 Code reads as follows: Private Type Rect Left As Long
3
by: Neal Miller | last post by:
Hi Thanks to all of your help, I've got a working PrintRTF module that prints out RTF code, and it works well. The next issue to overcome is to determine how to page-break text that is too long...
9
by: Aaron Smith | last post by:
I am creating a subclassed text box. I want to have a button inside the tetbox. That was the easy part. The part I can't figure out, is how you set the area for the text? If you type a string it...
4
by: devine | last post by:
Hi All, I am VERY new to Javascript. I have been provided with some code, which will enable me to hide/show a text area and change a submit button dependant on a check box. <!DOCTYPE html...
0
by: VorTechS | last post by:
I'm having a problem with an inherited label, applying text rotation to aligned text. If text rotation is applied to the aligned text, the alignment goes 'nuts'. I can find no logic to what is...
1
by: JWest46088 | last post by:
I keep getting these error messages: area(double,double) in Rectangle cannot be applied to () return "Area: " + Rectangle.area() + "\tCircumference: " + Rectangle.perimeter(); ...
4
by: davecreative | last post by:
Hello. I am trying to place a text area into my table, with a scrolling side bar, and I have everything perfect, EXEPT: The text area will float around the page, not stay inside the table! Any...
0
by: karen987 | last post by:
Could someone please tell me what code to add here? I have a weblog, with daily news which readers can add comments to, which are stored in a database. The form to add the comments is on an ASP page,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.