Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

place i picture in a text box 2

Status
Not open for further replies.

NateBro

Programmer
Sep 1, 2004
233
US
i am working on a forum (programmed in PERL), and i was wondering how i can have a textarea display an image, as well as different color, font, and other formats.

i want something like this
Code:
 version of the Web Wiz Rich Text Editor ver. 1.2c is written and produced by Bruce Corkhill ©2001-2004
If you want your own Rich Text Editor then goto [URL unfurl="true"]http://www.richtexteditor.org[/URL]
but its in ASP, and i have not figured out how to rewrite it in PERL, so i was wondering if there was a way i could start from scratch, it might be a whole lot easer.

where can i finde a tutorial on this one?

thanks for any info you can give.
 
The textarea element is called textarea for a reason - it holds text.

You might be able to put a background image in using CSS, but AFAIK, you cannot have an image element inside a textarea. It would probably be called a textandimagearea element if you could.

I'd suggest using a DIV instead - you can style it to look virtually identical to a textarea, including scrollbars, border, and font.

Hope this helps,
Dan

[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
I think what is required is a WYSIWYG editor of some kind.
Am I correct?

They tend to use Javascript as everything needs to be done client side. Not only that, but they tend only to ever work properly in Internet Explorer, and I've yet to see one that produces half decent code.

Foamcow Heavy Industries - Web design and ranting
Target Marketing Communications - Advertising, Direct Marketing and Public Relations
I wonder what possesses people to make those animated gifs. Do you just get up in the morning and think, "You know what web design r
 

I want a dancing hillbilly aligator. What's the URL? ;o)



[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
You lie and deceive Foamcow. The site does not work. I suggest you all try FCKEditor: written for php, asp, asp.net, .cfm, .perl, .jsp, works in Geckos and IE and produces xhtml.
 
Dan:

aligator.gif


Now, what design wouldn't be enhanced by that?

PS. Great link, Vrag!

-- Chris Hunt
Webmaster & Tragedian
Extra Connections Ltd
 
YOU ARE AWSOME!


and yes i want that gator for my company web site!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top