Help - Search - Members - Calendar
Full Version: Scroll Box - How to Disable the HTML in it
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
peterm3150
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
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
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
Christian J
QUOTE(stjepan @ Mar 4 2007, 11: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?

See http://www.quirksmode.org/css/overflow.html
stjepan
Tnx, C J.
Kristen
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>
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.