473,804 Members | 2,999 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

formatting textarea

how can i format textarea?

f.e.:

<textarea><b> i wqant this text to be bold</b></textarea>
Jul 17 '05 #1
5 4911
On Tue, 17 Aug 2004 14:49:42 -0500, Piotr Wolski wrote:
how can i format textarea?

f.e.:

<textarea><b> i wqant this text to be bold</b></textarea>

<textarea> elements don't work in that fashion Piotr. Plaintext only =)

Regards,

Ian

--
Ian.H
digiServ Network
London, UK
http://digiserv.net/

Jul 17 '05 #2
Ian.H wrote:
On Tue, 17 Aug 2004 14:49:42 -0500, Piotr Wolski wrote:

how can i format textarea?

f.e.:

<textarea><b> i wqant this text to be bold</b></textarea>


<textarea> elements don't work in that fashion Piotr. Plaintext only =)

Regards,

Ian

and theres no chance to format text inside <textarea> tag? php won't help?
Jul 17 '05 #3
On Tue, 17 Aug 2004 16:20:51 -0500, Piotr Wolski wrote:
Ian.H wrote:
On Tue, 17 Aug 2004 14:49:42 -0500, Piotr Wolski wrote:

how can i format textarea?

f.e.:

<textarea><b >i wqant this text to be bold</b></textarea>
<textarea> elements don't work in that fashion Piotr. Plaintext only =)


and theres no chance to format text inside <textarea> tag? php won't
help?

Nope.. and PHP would be the last one to help as what you're after is
client-side, whereas PHP is server-side.

The "best" formatting you could get would be indentation by means of
spaces, but that's pretty much the extent of it all.

What you're really looking for I think, would be a Java solution where
this would be possible, but I have idea about Java, never had the urge to
try and learn it, but would enable the results of what you're after.

Regards,

Ian

--
Ian.H
digiServ Network
London, UK
http://digiserv.net/

Jul 17 '05 #4
Simple ...

<TEXTAREA ROWS="5" NAME="comments" COLS="30" STYLE="color: #336699;
font-family: Arial"></TEXTAREA>
"Piotr Wolski" <wo****@cs.purd ue.edu> wrote in message
news:cf******** **@mozo.cc.purd ue.edu...
how can i format textarea?

f.e.:

<textarea><b> i wqant this text to be bold</b></textarea>

Jul 17 '05 #5
So your example would be ...

<TEXTAREA STYLE="font-weight: bold"></TEXTAREA>

"Paul C-T" <pa************ *****@hotmail.c om> wrote in message
news:41******** *************** @ptn-nntp-reader04.plus.n et...
Simple ...

<TEXTAREA ROWS="5" NAME="comments" COLS="30" STYLE="color: #336699;
font-family: Arial"></TEXTAREA>
"Piotr Wolski" <wo****@cs.purd ue.edu> wrote in message
news:cf******** **@mozo.cc.purd ue.edu...
how can i format textarea?

f.e.:

<textarea><b> i wqant this text to be bold</b></textarea>


Jul 17 '05 #6

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

Similar topics

5
14799
by: bonehead | last post by:
I am using a php html form with data which is loaded from a mysql database. Three of the fields are textareas. The data loads into these fields fine, except that the loaded text starts at what appears to be 2 or 3 tab characters to the left. See illustration: +---------<this is a textarea object>---------+ | This is about the way that| |the text loads from the database field. | | ...
4
2406
by: Dan Weeb | last post by:
Hi All, I have struggled through this far with help from many of you so thanks. I am stuck again. I am really new to this so don't be harsh :-) There are a few problems. You can run the script here http://www.pbrown.com/research/test1.php to see the formatting issues Formatting Issues
6
3171
by: Matt | last post by:
I have a textarea that is populated from a blob within a database. Everytime the data is pulled, however, there is always a lot of leading space characters before the actual text. It is not in the database this way, so how might I specify more formatting parameters within the textarea? Matt Williams
6
15458
by: TomT | last post by:
Hi, I've created a form that has a 3 fields. 2 textboxes (username & password) 1 TextArea (notes) I have linked this to an access DB. This is working well, the user enters thier Username & password, fills
10
3065
by: Perry van Kuppeveld | last post by:
Hi, I have a problem with formatting a table including text fields wich can contain up to 255 chars. I need a table with 3 columns: - First column 50 % over the with a rowspan of the total number of rows. - Second column 25 %, no rowspan - Third column 25 %, no rowspan
4
2539
by: monomaniac21 | last post by:
Hi all On my site I get users to enter a load of information in a textarea box, however when i save this data to my mysql DB and then retrieve it, it comes out without all the formatting, like new paragraphs and new lines. Can anyone tell me how you can capture the data entered into such a field with all the formatting the user has entered like new paragraphs etc?
2
1942
by: K. | last post by:
I have such a text <input type="text" name="search_txt" value=""> <textarea name="txt_m"> My hobby is bicycle. My hobby is driving a car. </textarea> I would like to bold and color a specified text in input field search_txt for instance "hobby" string.
1
1031
by: Sonnich | last post by:
Hello friends I need an <inputwhich a type, which can get a larger text - like a memobox. Not a type=text, but with multiple lines. Where is there an overview of input types? That might help me a lot. Secondly, thay would like to copy and paste html formatted text, is there a way to keep the formatting? Or just get the text with some of the formatting left?
11
2441
nathj
by: nathj | last post by:
Hi, I am working on new version of a site that requires an application form for membership, this is so that certain features of the site are only available to members. The site is aimed at Church Leaders and requires a lot of information from them. I have two questions relating to form layout and formatting. 1) How do you remove the border from a text area? 2) How do you format an input text field to display a date format of dd/mm/ccyy?...
0
9704
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9572
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10562
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10303
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10070
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6845
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5508
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5639
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.