The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Scroll Box - How to Disable the HTML in it, Scroll Box - How to Disable the HTML in it
peterm3150
post Mar 4 2007, 05:15 AM
Post #1





Group: Members
Posts: 3
Joined: 4-March 07
Member No.: 2,091



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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
stjepan
post Mar 4 2007, 05:53 AM
Post #2


Serious Coder
*****

Group: Members
Posts: 329
Joined: 15-October 06
From: zagreb, croatia
Member No.: 445



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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Mar 4 2007, 08:05 AM
Post #3


.
********

Group: WDG Moderators
Posts: 8,043
Joined: 10-August 06
Member No.: 7



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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Mar 4 2007, 08:07 AM
Post #4


.
********

Group: WDG Moderators
Posts: 8,043
Joined: 10-August 06
Member No.: 7



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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
stjepan
post Mar 4 2007, 02:52 PM
Post #5


Serious Coder
*****

Group: Members
Posts: 329
Joined: 15-October 06
From: zagreb, croatia
Member No.: 445



Tnx, C J.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Kristen
post Oct 15 2007, 02:25 PM
Post #6





Group: Members
Posts: 1
Joined: 15-October 07
Member No.: 4,060



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>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th February 2019 - 06:52 AM