Page 1 of 1

HTML inside <textarea>

Posted: Mon Aug 29, 2005 4:33 pm
by evilmonkey
I want to put HTML inside an uneditable textarea. Can this be done? This isn't for a form, this is just for design purposes. I'm also looking for cross-browser compatibility, so if a solution works exclusively on IE, please let me know. If it can't be done, I'd love to hear some alternatives. The design department needs those textareas and we in the programming dept. need that HTML...

Thanks for the help. :D

Posted: Mon Aug 29, 2005 4:36 pm
by andre_c
since the textarea is uneditable and not for a form, is there a reason why you can't put the html on a div or an iframe?

Posted: Tue Aug 30, 2005 2:34 am
by patrikG
I'd stick it in a div, as andre_c suggested.

Posted: Tue Aug 30, 2005 12:07 pm
by evilmonkey
Actually, the design depatment chose to take care of it with cleverly placed iframes (one on each page that had the problem). Thanks for the suggestions. :)