Jump to content

Archived

This topic is now archived and is closed to further replies.

jaymc

Hmmm - No Iframe

Recommended Posts

Ok, I want to create like an iframe type feature

Basically, have a large amount of content in an area but not have it stretch the page

The usual way to combat this is to just use an iframe, and of course have the content scroll within the iframe

Well, is their anyway to do this without frames?

Perhaps using javascript

Share this post


Link to post
Share on other sites
Sure, a div with overflow.

Share this post


Link to post
Share on other sites
yep fenway's got the idea.

on your html:
[code]
<div id="container">Content here, this will be overflowabble (if that's a word) when you're done.
</div>
[/code]

in the css:
[code]
#container {
overflow: auto;
}
[/code]

very simple.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.