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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<htmlarea> ???

Status
Not open for further replies.

russland

Programmer
Jan 9, 2003
315
CH
i would like to put <html> code into a <textarea> but having the html rendered. meaning, i only want to see the text not the html code. any idea how i could achive that.

I'm a bit curious why nobody else asked this question in here...

brayan
 

try this thread

thread333-474485

answer from AdmanOK

Chris.




Indifference will be the downfall of mankind, but who cares?
 
If you wish to just change the way text is displayed you can use Style Sheets to acheive.

textarea { font-family: arial, helvetica; font-size: 12px; color: red; font-weight: bold; text-decoration; underline;}



DeZiner
Never be afraid to try something new.
Remember that amateurs built the Ark.
Professionals built the Titanic
 
If you wish to display in an area a collection of text that combines the variety of attributes and options that you have using HTML, I suggest you use an inline frame instead of a textbox. That is the purpose of an inline frame.

Tweaking a text box until it looks like HTML is like using one single screwdriver to build an airplane, except that it works for a while if you're ValueJet.

Cheers,


[monkey] Edward [monkey]

Like Lovecraft? Know Photoshop? Got time for the Unspeakable?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top