[RESOLVED] What do you get when you cross an Iframe with a TextArea?

admin

Administrator
Staff member
Q: What do you get when you cross an Iframe with a TextArea?<br />
A: Ping-Pong Balls!<br />
<br />
OK, in all seriousness-<br />
<br />
I'm looking for a way to create an Iframe-like effect (an area inside a page that's scrollable) that can hold content, but can also parse tags and can be located on the same page. Is there such a tag?<br />
<br />
For example:<br />
<br />
<br />
<ping-pong-balls id='my_content'><br />
This text is inside of a box with scrollbars, just as if this text was the value of a read-only text area. <b>But, this sentance is in bold!</b> Let's see a <i>normal</i> text area do that!<br />
</ping-pong-balls><br />
<br />
<br />
(And if anyone thinks I've gone insane, look up "Mr. Moose" on Wikipedia.)<!--content-->Yes it is called a "DIV" with a CSS attribute of "overflow:auto"<br />
Example<br />
<div style="overflow: auto;width: 100px; height: 30px;">Text here that will be scrollable if there is too much of it.</div><!--content-->Wow, I've been using Divs all along, but I didn't know it could do that.<br />
<br />
Thanks bathurst_guy! :)<!--content-->
 
Top