peterm3150
Mar 4 2007, 05:15 AM
hi there,
i know the code for a scroll box is
<div style="border: 1px solid #aaa;background-colo r:#f9efef; width:350px; height:250px; overflow:auto; color:#FFF;"><p>
TEXT HERE
</p>
</div>
however i am wanting to put HTML in it which people can then copy and put on their own website (in a sense disabling the HTML in the scroll box).
Does anyone know how to do this?
Thanks.
Pete
stjepan
Mar 4 2007, 05:53 AM
QUOTE
<div style="border: 1px solid #aaa;background-colo r:#f9efef; width:350px; height:250px; overflow:auto; color:#FFF;"><p>
TEXT HERE
</p>
</div>
How that code makes scroll box?
Christian J
Mar 4 2007, 08:05 AM
QUOTE(peterm3150 @ Mar 4 2007, 11:15 AM)

i am wanting to put HTML in it which people can then copy and put on their own website (in a sense disabling the HTML in the scroll box).
See
http://htmlhelp.com/faq/html/basics.html#show-html
Kristen
Oct 15 2007, 02:25 PM
Hey if you haven't already figured it out,
i use <textarea> around the item in the box.
i had the same problem for awhile,
and i wanted to put codes into Scroll boxes,
but the code over all is:
<div style="border: 1px solid #aaa;background-colo r:#f9efef; width:350px; height:250px; overflow:auto; color:#FFF;"><p>
<textarea>
TEXT HERE!
</textarea>
</p>
</div>