Scroll Box - How to Disable the HTML in it, Scroll Box - How to Disable the HTML in it |
Scroll Box - How to Disable the HTML in it, Scroll Box - How to Disable the HTML in it |
peterm3150 |
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 |
stjepan |
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? |
Christian J |
Mar 4 2007, 08:05 AM
Post
#3
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
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 |
Mar 4 2007, 08:07 AM
Post
#4
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
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 |
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.
|
Kristen |
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> |
Lo-Fi Version | Time is now: 26th April 2024 - 12:12 AM |